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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -