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
Post a Comment