cancel
Showing results for 
Search instead for 
Did you mean: 

how to find position of character in a string

Chandu
Level 3
How to find nth character in a string.


like find the 5th character in a "Blueprism".

------------------------------
Bharath Nakkala
------------------------------
1 BEST ANSWER

Helpful Answers

Hi you can use "Mid"  function from the expressions editor of calc stage.

24089.png



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

View answer in original post

4 REPLIES 4

Hi you can use "Mid"  function from the expressions editor of calc stage.

24089.png



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Thank you for guiding me.

------------------------------
Bharath Nakkala
------------------------------

Hey can you help me with another doubt ,

    take the decision in case your string contain alphabet "S"?

------------------------------
Bharath Nakkala
------------------------------

Hi @Chandu

For this, you need to know the char index of the search character.

You need to use the VBO "Utility - Strings"​ with the Action "InStrRev". This actions gives you the position of the search text.

If the position is greater than 0, means that the search text was found in the original text.

The structure looks like this:

24094.png
24095.png

Hope this helps you!!

See you in the Community, bye 🙂


------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------