String Replace Leading
Replaces all leading occurrences of match by replacement of match in string. Returns the string untouched if there are no occurrences.
- string: Location of the string to work on
- pattern: The pattern to look for in the string
- replacement: Value to replace with
- output-location: Location to store the output data
From the string “hello hello world” with pattern of “hello ” and replacement “ “ will return “world”