This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Woot? trim() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Woot? trim()" Watch "Woot? trim()" New topic

Woot? trim()

Swagato Bhatta
Ranch Hand

Joined: Nov 08, 2008
Posts: 72

I thought the answer should be "bigsurprise14"! However the answer is "big surprise 14". Please clarify my misunderstanding. If this has already been asked by someone else, please ignore this post..Thanks

Working on my SCWCD so I can be a J2EE consultant earning millions of dollars and showing everyone I can
Rahul P Kumar
Ranch Hand

Joined: Sep 26, 2009
Posts: 188

Rob Poulos
Ranch Hand

Joined: Aug 21, 2009
Posts: 49
you should check out the replace method of the String class

SCJA, ITIL V3 Foudation, Studying for SCJP6
It is sorta covered in the JavaRanch Style Guide.
subject: Woot? trim()
Similar Threads
doubt: String formatting
LinkedHashMap - trying to use the method removeEldestEntry
I implemented runnable.... I think...
HashMap values-- I think I know why but how do I fix this null pointer exception?
Please need help with calculator program...