Click or drag to resize

PosDel Function

X#
Removes characters at a specified position in a string.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax
 FUNCTION PosDel(
	cString,
	nStartPos,
	nDeleteLen
) AS STRING CLIPPER
Request Example View Source

Parameters

cString (Optional)
Type: Usual
String to check
nStartPos (Optional)
Type: Usual
1 based position to start deleting from. Defaults to Len(cString).
nDeleteLen (Optional)
Type: Usual
The number of characters to delete.

Return Value

Type: String
Returns the modified string.
See Also