Java split problem
View Single Post
12-19-2012, 07:02 PM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,452 Times in 2,421 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