Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Beginning Java
How to remove spaces from string
rama ilango
Greenhorn
Posts: 24
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
for example
a=" 58 "
how to remove the spaces from the above
string
?
Swastik Dey
Bartender
Posts: 2270
20
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
use trim() of String class.
Swastik
rama ilango
Greenhorn
Posts: 24
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the linux command to trim the string?
Tom Johnson
Ranch Hand
Posts: 142
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
http://www.unix.com/shell-programming-scripting/20022-trim-whitespace.html
<a href="http://faq.javaranch.com/java/UseCodeTags" target="_blank">Use Code Tags!!</a>
permaculture is giving a gift to your future self. After reading this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
clearing white space
removing newline and tabs from a string
remove white spaces
readonly field value change
How to remove spaces
More...