Macro Scheduler 15

StringReplace

StringReplace>sourcestring,find,replace[,newstring]

 

Creates a new string, newstring, by searching sourcestring for all ocurrences of find, replacing them with replace.

 

If newstring is omitted then sourcestring is modified.

 

Abbreviation: RPL

 

See also: RegEx, Position, MidStr

 

Examples

 

Let>string=Your name is "Fred"

StringReplace>string,","",vbEscapedString

 

StringReplace>Good evening,evening,morning,newgreeting