I have a problem with string comparison. For example, there is this string:
\"hello world i am from heaven\"
I want to search if this strin
For an exact String comparison, you can simply do:
boolean match = stringA.equals(stringB);
If you want to check that a string contains a substring, you can do:
boolean contains = string.contains(substring);
For more String methods, see the javadocs