‎2010 Mar 31 5:49 AM
I am my data in tdines..........
i am having two fields data in single line separated by comma.
Now i moved tdlines data to V1.
i have to use split statemnt by using comma so that it should get in to V2 and V3
EX: 1234a,65432a
this is tdlines.
i have moved that to V1.
so V1 = 1234a,65432a
I wanted to get
V2 = 1234a
V3 = 65432a
Please tell the syntax
‎2010 Mar 31 6:36 AM
‎2010 Mar 31 5:55 AM
split text1 at var into table it_text. " chops the string at value in "var"(put ',' in this var) and puts sequentially in table it_text(field shud b char)
or
split text1 at var into text1 text2 text2. " into individual variablesregards,
Sumit
Edited by: Sumit Nene on Mar 31, 2010 6:57 AM
‎2010 Mar 31 5:55 AM
‎2010 Mar 31 6:36 AM
‎2010 Mar 31 7:00 AM
‎2010 Mar 31 7:10 AM
‎2010 Mar 31 7:26 AM
This is the syntax.
SPLIT dobj AT sep INTO
{ {result1 result2 ...}
So you can code like this .
c_comma = ','.
SPLIT var AT c_comma INTO: v1 V2.
‎2010 Mar 31 7:41 AM
Split V1 at ',' into V2 V3.
Edited by: Sathya Gunasekaran on Mar 31, 2010 8:42 AM