Replace First Substring (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
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 Compare Strings Contains Empty String
Ends With Escape String Format Get Type Index Of String Is String Empty New Line
Null String Replace First Substring Replace Substring Reverse String Starts With String Insert String Join
String Length String Remove Strip RTF Tags Substring To Lower To String To Upper
Trim String Unescape String