Java split problem
View Single Post
12-19-2012, 08:02 PM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,597 Times in 2,566 Posts
That will always show a failure; you are comparing a string to an integer which is automatically false.
Cast id to a string or the string to an Integer and then check for equals.
View Public Profile
Find More Posts by Fou-Lu