Axaptapedia is now maintained by AgileCadence For more information please click here.
StrReplace
From Axaptapedia
Contents
StrReplace[edit]
Syntax[edit]
<xpp> str strReplace(str _str, str _fromStr , str _toStr) </xpp>
Description[edit]
Replace all of those occurrence in the text string specified by _str of substring equal to _fromStr with the string specified in _toStr and return the new string. That is, starting first character subtring in _str equal to _fromStr will be replace with _toStr.
Example[edit]
<xpp> strReplace("a.b.c.d", ".", " ") //returns the text string "a b c d".
strReplace("?!?!?", "?!?", "*") //returns the text string "*!?". </xpp>