Click or drag to resize

PosIns Function

X#
Inserts a character string into a string at a specified position.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax
 FUNCTION PosIns(
	cString,
	cInsertString,
	nPosition
) AS STRING CLIPPER
Request Example View Source

Parameters

cString (Optional)
Type: Usual
String to update
cInsertString (Optional)
Type: Usual
The string to insert
nPosition (Optional)
Type: Usual
1 based position where the string must be inserted. Defaults to Len(cString)+1.

Return Value

Type: String
Returns the modified string.
See Also