llReplaceSubString
string llReplaceSubString(string InitialString, string SubString, string NewSubString, integer Count)Searches InitialString and replaces instances of SubString with NewSubString. Zero Count means "replace all". Positive Count moves left to right. Negative moves right to left.
Parameters
-
InitialString(string) - The original string in which to hunt for substring matches.
-
SubString(string) - The original substring to find.
-
NewSubString(string) - The new substring used to replace.
-
Count(integer) - The max number of replacements to make. Zero Count means "replace all". Positive Count moves left to right. Negative moves right to left.
Examples
Section titled “Examples”Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related pages can be linked here