Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!

Poached Hens

Greenhorn
+ Follow
since Jul 03, 2012
Poached likes ...
Eclipse IDE Tomcat Server Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Poached Hens

Your easiest solution would be to use Integer.parseInt() on the string and catch the exception if it is not a number.
8 years ago