I am extracting an string from using dynamic position index where length of text is also not known.
So I am extracting extra characters as well at its left and right. When I am putting this in message box, it is showing blank spaces, but when I am trimming it and using it in selector, it is showing as bad characters. For e.g
I have to extract on string from full page for e.g. ‘UIPath’ but this string also can be of variable length i.e. it can also be ‘UiPath12’ or ‘Studio’ or Robot’ etc… that means it could be any.
So I am extracting additional characters before and after that position. like ‘*UIPath’
- is blank spaces here. But when I using it in selector it is showing me as bad character like ‘#ADUIPath&D#’.
Can you please suggest how can I track and remove those bad characters.