How to split one variable data using another variable data

Hi All,

I have two variables (Var1) & (Var2)
Var1= abcdefgh pq1 adf
Var2=pq1

i am using split commend in assign
Split(var1,“Var2”)

How to give var2 value in " " double codes

Thanks in advance.

1 Like

We can mention like this
arr_str = split(var1.ToString,var2)
Where arr_str is a variable of type array of string

Cheers @csekhar.p18

1 Like

Thanks it’s working
i forgot to remove " " double codes for second variable

Thanks Palaniyappan:slightly_smiling_face::+1:

1 Like

Cheers @csekhar.p18

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.