Replaces indicated characters with other characters in a string.
(dos_strreplace string oldchars newchars [T])
string
A string.
oldchars
The character to be replaced by newchars.
newchars
The character replacing oldchars.
T
If specified as T, a case insensitive replacement is performed. Otherwise, a case sensitive replacement is performed.
The modified string if successful.
nil on error.
Command: (setq str "Everybody likes ice hockey.") "Everybody likes ice hockey." Command: (dos_strreplace str "hockey" "golf") "Everybody likes ice golf."
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History