PosChar Function | |
Replaces a single character at a specified position in a string.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax FUNCTION PosChar(
cString,
uChar,
nPosition
) AS STRING CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string PosChar(
Usual cString = default,
Usual uChar = default,
Usual nPosition = default
)
Request Example
View SourceParameters
- cString (Optional)
- Type: Usual
String to check - uChar (Optional)
- Type: Usual
The new character to insert into the string - nPosition (Optional)
- Type: Usual
1 based position to change. Defaults to Len(cString).
Return Value
Type:
StringReturns the modified string.
See Also