cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClaireAllen
Post Prodigy
Post Prodigy

Find Substring in a String

Hello Community,
I need your help please!
I'm trying to convert some workflows to Power Automate and one thing I have come across where I am not sure how to achieve this in Power Automate,
Find a Substring in a string

ClaireAllen_0-1611228676558.png

The substring is a full stop .

String is a variable of the Version No

Output is Index of period

 

I've configured an Initialize Variable in my Flow

ClaireAllen_1-1611228963376.png

and that's how far I got as I don't know where to start with the Find a Substring in a String, and this is where I need help.

 

Any suggestions / help is much appreciated.

Kind regards

Claire

5 REPLIES 5
VictorIvanidze
Community Champion
Community Champion

Use indexOf function.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Thank you @VictorIvanidze 
I've never used IndexOf functions before,

Would you have a screen shots on how something like I am trying to achieve would be configured?

 

Kind regards

Claire

Hi @ClaireAllen , just use a link I gave you. The doc contains enough examples.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Thank you @VictorIvanidze 
I did look at the documentation, but if you have never done anything like this before, I does not help!

I'll mark you solution as closed, and try and figure out what I need to do

ClaireAllen
Post Prodigy
Post Prodigy

Hello @v-yuazh-msft 
I'm sending you this, to see if you can help me as I came across your post in 2018 extract substring using compose
I think I am trying to do something similar in my flow, and was wondering if you could give me some guidance on how to achieve this.

Thank you

Claire

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,363)