Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes is it possible to remove spaces in in the text 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 » Engineering » HTML, CSS and JavaScript
Bookmark "is it possible to remove spaces in in the text" Watch "is it possible to remove spaces in in the text" New topic
Author

is it possible to remove spaces in in the text

Anilkumar Ravinuthala
Greenhorn

Joined: Jan 17, 2007
Posts: 17
Hi all,
i want to remove leading spaces in textbox.
is there any function to remove leading spaces.

Anil
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6


call it



Make sure you do the trim on the server!

Eric
Anilkumar Ravinuthala
Greenhorn

Joined: Jan 17, 2007
Posts: 17
Good morning adn thanks Eric.
 
wood burning stoves
 
subject: is it possible to remove spaces in in the text
 
Similar Threads
trim( ) method
trim values
why not rtim() or ltrim()
NumberFormatException
trim ()