On Thu, 2010-11-11 at 10:22 +0530, ram wrote:
what exactly i am looking is my EDI format is going to be some thing like
this. I want to remove the carriage returns and line spaces from this text.
There might be white spaces b/w ISA*00* *00* *zz*7654321
I am not how many white spaces are going to come.
I dont want to remove these whitespaces but want to remove
the cr's n lf's
So, you want the text all on one line...
ISA*00* *00* *ZZ*7654321
*ZZ*1234567*020503*1705*^*00401*000010232*0*P*:~GS*HC*7654321
*1234567*20020503*1705*20213*X*004010X096A1~ST*837
*0001~BHT*0019*00*123B*20010329*1310*CH~REF*87*004
010X096A1~NM1*41*2*SUBMITTER
ORGANIZATION*****46*ETIN123~PER*IC*SUBMITTER CONTACT NAME*TE*SUBMITTER
COMMNUMBER-EMAIL~NM1*40*2*RECEIVERORGANIZATION*****46*ETIN123~HL*1**20*1~PRV*BI*ZZ*2
82N00000N~NM1*85*2*BILLINGPROVIDER
ORGANIZATION*****24*EID123456~N3*123
BILLINGPROVIDERADDRESSLINE~N4*BILLINGPROVIDER
and so on?
Seems pretty garbled to me.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--