I need to find the position of the first space in a string so I can manipulate the content of the string. I'm trying to use the indexOf function, but I can't get it to work.
I've tried using a space between single apostrophes, and the char(32) function. None of these work.
When I try using a space between single apostrophes I get a -1 result.
When I try using char(32) the flow errors out with the message:
Unable to process template language expressions in action 'IndexOf_Space' inputs at line '1' and column '6357': 'The template function 'char' is not defined or not valid.'.
How does the indexOf function work when searching for spaces?
Solved! Go to Solution.