Return to Snippet

Revision: 13534
at April 27, 2009 09:27 by juzerali


Initial Code
java.util.regex.Pattern.matches("\\d*", (test==null)?"":test.trim())

returns a boolean

Initial URL

                                

Initial Description

                                

Initial Title
to check for a numeric value in a string in java

Initial Tags

                                

Initial Language
Java