I’m trying to build a flow which will manipulate a string by replacing a recurring character multiple times, each time producing an output in which only 1 character has been changed.
e.g. my input would be: XFTFRZUF
I want to change each occurence of “F” to “56”, but only one per new string
i.e. leading to the follwing output:
Any idea if this is possible?.
I can think of a more complex flow which could do this with multiple string replacers and concatenate nodes, but only if I can find a way for the string replacer to only change the First example of a charachter
i.e. input = XFTFRZUF
String replacer “F” to “56”
Desied output: X56TFRZUF
Any idea how to do this i.e. only replace the first occurence of a character in a string
Thanks for any advice!