nikscrasher
Programmer
Hi,
I need to parse this one long text string into 3 distinct columns: serialno, denomination, cardtype to insert to database.
Here's my example string:
vchr_Card =
'0000000001-0000000010,100,sb;
0000000015,150,sp;
0000000127,10,sa;
0000000128-0000000135,15,sc;
0000000136-0000000140,20,st;
0000000180,100,si;
0000000010,500,sq;
0000000015,150,sm;
0000000200-0000000210,1000,sy;
0000000190,350,sx;'
Any ideas anyone? any good scripts out there that can help me to parse the long text string?
Thank you in advance..
I need to parse this one long text string into 3 distinct columns: serialno, denomination, cardtype to insert to database.
Here's my example string:
vchr_Card =
'0000000001-0000000010,100,sb;
0000000015,150,sp;
0000000127,10,sa;
0000000128-0000000135,15,sc;
0000000136-0000000140,20,st;
0000000180,100,si;
0000000010,500,sq;
0000000015,150,sm;
0000000200-0000000210,1000,sy;
0000000190,350,sx;'
Any ideas anyone? any good scripts out there that can help me to parse the long text string?
Thank you in advance..