Split the String

studio

#1

Hi All,

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

thanks,
Eswar.


#2

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

Regards

Niket


#3

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

Regards,

Eswara Rao Seera


#4

Could you please show me how your string looks like?


#5

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.


#6

Hi @Niket_Ghai,

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

Regards, Arivu :slight_smile:


#7

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


#8

HI Nikhet,

Thanks a lot :slight_smile:

Regards,

Eswara Rao Seera