I have a flow that is parsing a plain text email and creating an item in a SharePoint list.
Everything works great except for when a user enters data with a newline or carriage return (which I don't want in the SP list). I can not figure out how to replace a new line (\n) or any other non-printable character.
I have tried the obvious...
replace(body('Html_to_text'), '\n', '')I have tried what others claim to be the only solution...
replace(body('Html_to_text'), '
', '')As well as several other options (e.g.; character codes)...
replace(body('Html_to_text'), Char(13), '')And nothing works (even when the run doesn't generate an error, the new lines are not replaced). I am able to replace printable characters without issue, it's just the non-printable characters.
So, am I missing something or is it impossible to do what I'm trying to do?