Table of Contents
strreplaceDescriptionReplace a substring of text within a string with another substring. Function prototypestring strreplace <string:Text> <string:Old> <string:New> Arguments
Return valueA string containing Text with all instances of Old replaced by New. Example// replace "test" in "this is a test" with "awesome" echo <strreplace "This is a test" "test" "awesome"> … the output of which is written to the event log by echo as: This is awesome CommentsNone. See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|