you can try String.matches(regex) if you are using jdk 1.4
You can find more about regex at
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html#sum
you can use something like "\d*"
Vijay Dasari.
On 7/7/05, Taco Fleur <taco@(protected):
>
>
>
> How do I parse an integer out of a string, for example: BDAT 30 LAST
>
>
>
> I did not find any regex support under the String class except for matching.
>
>
>
> ________________________________
>
> Taco Fleur - E-commerce Development Manager
>
> Shelco Searches & Services
>
> An Authorised ASIC Information Broker
>
> www.shelco.com.au
>
> Ph: + 61 7 3236 2605
>
>
> ===========================================================================
> To unsubscribe, send email to listserv@(protected)
> of the message "signoff J2EE-INTEREST". For general help, send email to
> listserv@(protected)".
>
>
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".