Replace First Substring (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Replace First Substring
'Replace First Substring' LogiX node
  String Str
  String SearchFor
  String ReplaceWith
  Int StartIndex
  String *

The Replace First Substring node outputs the input Str with the first instance of the SearchFor substring replaced with the ReplaceWith string.


The StartIndex determines which position in the input Str searching for the SearchFor substring should begin. Default is 0.

If no instance of the SearchFor substring is found after the input StartIndex, the output of this node is identical to the Str input.

If you need to replace every instance of a substring, use Replace Substring (LogiX node) instead.




Node Menu

Back Characters Quick Format Special Characters + × Capitalize
Contains Ends With Format Get Type Index Of String Is String Empty New Line
Replace First Substring Replace Substring Reverse String Starts With String Insert String Join String Length
String Remove Substring To Lower To String To Upper Trim String