I need to extract only state id from a string and the position of stateID is dynamic.
Example: Eden Prairie MN 55344 In this string i want only State “MN” and The state position is dynamic for some countries its in second place and some its in 3rd position.
Please find attached xaml file with the solution,
I have tried for all the 3 example values you have provided and it worked fine.
Let me know if it does not work.
Don’t forget to click on MARK AS SOLUTION , if it works