wood burning stoves 2.0*
The moose likes Java in General and the fly likes trim () Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "trim ()" Watch "trim ()" New topic

trim ()

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 348
Returns a copy of the string, with leading and trailing whitespace omitted.

I only want to remove the trailing spaces, how do i do this as simple as possible ???

Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
See this thread..

Do try the "search" function on JavaRanch. Searching for "trailing whitespace" finds the above, no problem.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
I agree. Here's the link: http://aspose.com/file-tools
subject: trim ()
Similar Threads
How to Create Auto Schema
removing the trailing space of a string only
Avoid panic selling
Why this syntax array is legal?
NX: US-ASCII confusion