cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chasefooo
Frequent Visitor

Trying to parse a line out of a text string

Im having an issue with extracting a string within another string.

I am inserting the following function into an "initialize variable" action

 

substring(variables('email_body'),add(lastIndexOf(variables('email_body'),'Case Number'),13),16)
 
When i test, it only returns the function as a string instead of the string i am trying to extract.
when i type the function out in the editor, it shows as invalid as well. So im sure that it is just a simple error on my part that i am missing. any help would be appriciated!
Thank you,
1 ACCEPTED SOLUTION

Accepted Solutions
chasefooo
Frequent Visitor

found my problem. I didnt know functions HAD to be typed into the popup window for them to be valid.

I was typing my function directly as an input.

View solution in original post

1 REPLY 1
chasefooo
Frequent Visitor

found my problem. I didnt know functions HAD to be typed into the popup window for them to be valid.

I was typing my function directly as an input.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,450)