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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -