Hi ,
I designed a flow, that grabs value stored in the "subject" field from the body of the email.
I used Html to Text option to convert email into text. While fetching the subject, it split into two lines. For my flow to work I need the value of subject in single line.
Below image is output of HTML to TEXT action output.
The highlighted text I want to capture into a single line.


The string function I used is
substring(body('Html_to_text'),add(indexOf(body('Html_to_text'), 'Subject'),7),sub(indexOf(body('Html_to_text'), 'Please'),add(indexOf(body('Html_to_text'),'Subject'),7))).
Is there any way I can merge the multiline string into one?
Help much appreciated!
Thanks