How do I split a text value by the TAB Char

Charles Swart

New Member
Firstly I have very little BP experience, so excuse me if this is a silly question.

I have a text string that contains a tab ( hex/ascii value 09). I now need to split the string on the TAB.
I have tried the SplitStringInto function with chr(09) as the split value, but this does not work.
 

Sukesh Kumaru

Active Member
Hello,

Use InStr() function.
you will get the position of tab and then
Use Mid() function provide the position as 1,x x=position returned by InStr() function.

Good Luck.
 

mdhazlee

New Member
There's an in-built VBO Utility Strings -> Extract Regex values to extract based on regular expressions. However, it will only extract the first match for the expression. So if you have multiple pattern matches, you'll need to do a code stage to output all the matches onto the collection. You can refer to the following link for the code to get multiple matches (you'll also need to learn some regular expressions as well to properly extract the matches)

https://www.rpaforum.net/threads/ho...x-values-action-of-utility-strings.681/page-2
 
Top