java - How to check if String contains value ".5"? -


this question has answer here:

list<string> list has value [standard .5"]

i doing

if (list.contains(".5\"")) { } - returning false - not sure why

you have check items in list not list itself

for(string s : list) {   if (s.contains(".5\"")) { } } 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -