llReplaceSubString
Function Syntax
string llReplaceSubString(
- string InitialString, // The original string in which to hunt for substring matches.
- string SubString, // The original substring to find.
- string NewSubString, // The new substring used to replace.
- integer Count // The max number of replacements to make. Zero Count means "replace all". Positive Count moves left to right. Negative moves right to left.
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.