Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10116

Re: Need to split string

$
0
0

You have to create 12 variables for that ...But you can achieve this.

 

First create variable Var1 which stores this value of the string. Then create all other variables as shown below. Header1 to Header 5 are the variables that you need to use in your report

 

Var1 =[String]

 

Header1 =Substr([Var1];1;Pos([Var1];"|")-1)

 

Var2 ==Substr([Var1];Length([Header 1])+2;Length([Var1]))

 

Header2 =Substr([Var2];1;Pos([Var2];"|")-1)

 

Var3 =Substr([Var2];Length([Header 2])+2;Length([Var2]))

 

Header3 =Substr([Var3];1;Pos([Var3];"|")-1)

 

var4 =Substr([Var3];Length([Header 3])+2;Length([Var3]))

 

Header4 =Substr([Var4];1;Pos([Var4];"|")-1)

 

Var5 =Substr([Var4];Length([Header 4])+2;Length([Var4]))

 

Header5 =Substr([Var5];1;Pos([Var5];"|")-1)

 

Var6 =Substr([Var5];Length([Header 5])+2;Length([Var5]))

 

Header6 =Substr([Var6];1;Pos([Var6];"|")-1)


Viewing all articles
Browse latest Browse all 10116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>