• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting rid of Carriage returns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting rid of Carriage returns


  • Subject: Re: Getting rid of Carriage returns
  • From: Kaj Hejer <email@hidden>
  • Date: Thu, 23 Dec 2004 20:58:53 +0100


On 23. des 2004, at 20.46, Calven Eggert wrote:

It doesn’t work. It still returns my string with the carriageretuns in it.


Hi!

You should also remove \r

You can do this with String.replaceAll(), f.x.

myString.replaceAll("\n", "");
myString.replaceAll("\r", "");


-Kaj :)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Getting rid of Carriage returns (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: Getting rid of Carriage returns
  • Next by Date: RE: Getting rid of Carriage returns
  • Previous by thread: Re: Getting rid of Carriage returns
  • Next by thread: RE: Getting rid of Carriage returns
  • Index(es):
    • Date
    • Thread