
Announcements
So, I have made a flow that's triggered by a new email showing up in a specific folder.
I turn the HTML into text and begin scraping information out of the text.
I isolate a specific line of text and retrieve the position of the '%' sign. Position 47.
I set variable textPosition to the result of the Find Text Position action--47.
And my next step is to decrement that variable by three (3). Now, I realize I am old and still use the old math, so 47 take away 3 should always be 44. Or am I confused?
29?!?!?!?
So I grab the needed substring, and end up with 157, instead of the desired ' 33'
Apparently Decrement Variable is broken. I have been unsuccessful in writing an expression that basically means dynamic content variable 'textposition - 3'. This seems like a much easier solution.
Can it be done?
Frank D. Puthuff
Dell Technology
You could use the following expression to eliminate the variable:
sub(body('Find_text_position_of_percent_sign'),3)