Replace String

Click to copy

Replaces all instances of a substring within a given string.

Example: Replace String(string: "lorem ipsum", find: "m", replace: "M") = "loreM ipsuM".

Flow Connections

  • [Input] In - starts the block's execution.
  • [Output] Out - activates when the block has finished its execution.

Data Connections

  • [Input] String (string) - string within which the replacement will take place.
  • [Input] Find (string) - substring to be replaced.
  • [Input] Replace (string) - substring with which to replace.
  • [Output] Result (string) - result of the operation.