java - Split result not usable on android -


i have string split, works until want use : when use 'for' read have in string table shows want, when use if(mystringtable[1] == "a") isn't true, though saw mystringtable[1] equal "a". string table "static" declared. i'm wondering if there invisible character or has been created split.

in terms of strings, use .equals() in order check if string equal another. if 1 of them character, cast string using .tostring() make match approach.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -