Replaces all leading occurrences of match by replacement of match in string. Returns the string untouched if there are no occurrences.

Properties

  • string: Location of the string to work on
  • pattern: The pattern to look for in the string
  • replacement: Value to replace with

Output

  • output-location: Location to store the output data

For example

From the string “hello hello world” with pattern of “hello ” and replacement “ “ will return “world”

0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments