Hi there, I'm facing this problem, and cannot figure out the solution.
I'm having an email like this:
Manager: Name Surname
Comment: Some dummy text
From this email I want to extract text which I can do like this
ACRONYM - trim(first(split(last(split(outputs('Convert_Email_Body_to_Text')?['body'], 'Acronym:')), 'Manager:'))) MANAGER - trim(first(split(last(split(outputs('Convert_Email_Body_to_Text')?['body'], 'Manager:')), 'Email:')))
For acronym I'm looking for everything between "Acronym:" and the "Manager:", and so on, but for the "Comment:" I'm confused what to do because I cannot use split function since I don't have the second parameter.
Solved! Go to Solution.
@Paulie78this cannot be evaluated because array index '1' is outside bounds (0, 0) of array.
It is not working like that. I'm looking for other solutions, to get the text after the 4th occurence of ":" or something like that.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.