PosDel Function | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string PosDel(
Usual cString = default,
Usual nStartPos = default,
Usual nDeleteLen = default
)
Request Example
View SourceParameters
- 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:
StringReturns the modified string.
See Also