Skip to Content
0
Former Member
Jan 12, 2012 at 03:47 AM

How to ignore the last recrod end separator

43 Views

Hi Team,

I am creating a file like below

1,100,200&2,200,300&3,300,400&

In this file

First Record is--1,100,200

Second Record is--2,200,300

Third Record is--3,300,400

I am using the field separator is ,(comma) and end separator is &.

My requirement is last record does not contain the end separator(&).

My output file should be like this

1,100,200&2,200,300&3,300,400

Regards

Swathi