[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: removing crlf character with out white spaces

Subject: Re: removing crlf character with out white spaces
From: Liam R E Quin <liam@xxxxxx>
Date: Thu, 11 Nov 2010 00:36:19 -0500
Re:  removing crlf character with out white spaces
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.