Click or drag to resize

PosChar Function

X#
Replaces a single character at a specified position in a string.

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

Parameters

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: String
Returns the modified string.
See Also