query: How to properly use a java substring in an if test?
positive_passages.docid: 126
positive_passages.text: How do I compare strings in Java?
negative_passages.docid: 109282
negative_passages.text: Java comparison with == of two strings is false?
negative_passages.docid: 97240
negative_passages.text: How can I check if a string represents an int, without using try/except?
negative_passages.docid: 150883
negative_passages.text: Comparing String to Integer gives strange results
negative_passages.docid: 128865
negative_passages.text: The equals() method in Java works unexpectedly on Long data type
negative_passages.docid: 21337
negative_passages.text: Determining whether a string has a substring (word)
negative_passages.docid: 10250
negative_passages.text: Using subscript in a string
negative_passages.docid: 21355
negative_passages.text: How do I convert a String to an int in Java?
negative_passages.docid: 38898
negative_passages.text: How to compare the strings using < (Greater than symbol)
negative_passages.docid: 63349
negative_passages.text: How to string-compare for a single space
negative_passages.docid: 119251
negative_passages.text: Lookup and return value based on sub-string match
negative_passages.docid: 43229
negative_passages.text: How to check if a string contains only digits in Java
negative_passages.docid: 124507
negative_passages.text: String Comparison in Java
negative_passages.docid: 33323
negative_passages.text: Covering if-else conditions in a Testclass
negative_passages.docid: 20667
negative_passages.text: Using OR comparisons with IF statements
negative_passages.docid: 5512
negative_passages.text: How do I do a case-insensitive string comparison?
negative_passages.docid: 22122
negative_passages.text: How do you use the ? : (conditional) operator in JavaScript?