PosIns Function | |
Inserts a character string into a string at a specified position.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax FUNCTION PosIns(
cString,
cInsertString,
nPosition
) AS STRING CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string PosIns(
Usual cString = default,
Usual cInsertString = default,
Usual nPosition = default
)
Request Example
View SourceParameters
- 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:
StringReturns the modified string.
See Also