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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -