How do I split a input row into multiple output rows
Posted: Mon Mar 20, 2006 3:15 pm
Hey guys,
The input file is as below
1|711,729a,726|h711_729A_726_ppsp|H323
1|711,729a,726|s711_729A_726_ppsp|SIP
2|729ab,726,711|h729AB_726_711_ppsp|H323
2|729ab,726,711| s729AB_726_711_ppsp|SIP
The output file should be as below.
Codec_Descriptor_ID=1|Codec_Descriptor_Value=711
Codec_Descriptor_ID=2|Codec_Descriptor_Value=726
Codec_Descriptor_ID=3|Codec_Descriptor_Value=729a
Codec_Descriptor_ID=4|Codec_Descriptor_Value=729ab
Any suggestions???
Thx
The input file is as below
1|711,729a,726|h711_729A_726_ppsp|H323
1|711,729a,726|s711_729A_726_ppsp|SIP
2|729ab,726,711|h729AB_726_711_ppsp|H323
2|729ab,726,711| s729AB_726_711_ppsp|SIP
The output file should be as below.
Codec_Descriptor_ID=1|Codec_Descriptor_Value=711
Codec_Descriptor_ID=2|Codec_Descriptor_Value=726
Codec_Descriptor_ID=3|Codec_Descriptor_Value=729a
Codec_Descriptor_ID=4|Codec_Descriptor_Value=729ab
Any suggestions???
Thx