Split the String

Hi All,

How can I split the string which contains the tab separated string data.

thanks,
Eswar.

Hi! You can use Stringvariable.Split(chr(9))

Regards

Niket

Hi Nikith,
Still is returning the full string instead of giving the part of a string :frowning:

Regards,

Eswara Rao Seera

Could you please show me how your string looks like?

If the string are separated by single tab space only, then you can simply split using:
str.Split({" "}, StringSplitOptions.None). as a tab space contains 8 spaces so this can be done if nothing works!
P.S There are 8 spaces in the split function.

Hi @Niket_Ghai,

If you want to split using tab you can use "\t"c

Regards, Arivu :slight_smile:

Hello @arivu96
I tried that out previously was gettin this error:

HI Nikhet,

Thanks a lot :slight_smile:

Regards,

Eswara Rao Seera

1 Like