Re: Trim strings?
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 04:09:34 GMT
On Thu, 29 Sep 2005 01:38:20 GMT, "Michael" <mbialowas@xxxxxxx> wrote
or quoted :
>I just had a question. How do you trim strings? OR rather how do you insert
>the command into java to trim strings? Since I have a program here that uses
>many strings for entering data(numbers). But I get and exception numerica
>runtime error.Thanks in advance.
s = s.trim();
To then convert to numbers. see
http://mindprod.com/applets/converter.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.
- References:
- Trim strings?
- From: Michael
- Trim strings?
- Prev by Date: Re: listener for JFrame's titlebar
- Next by Date: Re: commas in numbers
- Previous by thread: Re: Trim strings?
- Next by thread: commas in numbers
- Index(es):
Relevant Pages
|
|