<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Miscellaneous functions > StrSet() |
Set a character in a STRING to a new ASCII character specified by an INDEX.
Position is zero-based. For example,
String = "ABC"
StrSet(String, 2, 69)
String is now ABE.
REGULAR FUNCTION
StrSet(String, Position, AsciiNumb)
String |
STRING |
String for which to replace a character. |
Position |
INDEX |
Position within String to replace. |
AsciiNumb |
INDEX |
Character to overwrite the character at Position. |