Skip to content

SearchAndReplace

in Lib.string.search

Looks for characters or strings within another string and returns a new string with the matches replaced.

Input Parameters

Name (Relevancy & Type) Description
OriginalString (String) Defines the string whose content is searched
SearchPattern (String) Defines the string pattern that will be searched for and replaced
Replace (String) Defines the string that will be used to replace what is defined as the search pattern
UseRegex (Boolean)

Outputs

Name Type
Result System.String