in java, how to check whether a string is parsable into Long without try-catch?
- by Sergey
Hello,
Long.parseLong( string ) throws an error if string is not parsable into long.
Is there a way to validate the string faster than using try-catch?
Thanks