query: I want to break the loop by a string input . But the program is taking input infinitely
positive_passages.docid: 126
positive_passages.text: How do I compare strings in Java?
negative_passages.docid: 128423
negative_passages.text: Splitting input into two with for-loop
negative_passages.docid: 64316
negative_passages.text: How do I break a string across more than one line of code in JavaScript?
negative_passages.docid: 64137
negative_passages.text: Continue For loop
negative_passages.docid: 2734
negative_passages.text: How do I iterate over the words of a string?
negative_passages.docid: 72263
negative_passages.text: Why does scanf get stuck in an infinite loop on invalid input?
negative_passages.docid: 142789
negative_passages.text: Is while (true) with break bad programming practice?
negative_passages.docid: 117663
negative_passages.text: program skips over getline
negative_passages.docid: 13105
negative_passages.text: How can I read an input string of unknown length?
negative_passages.docid: 5236
negative_passages.text: How can I repeatedly read user input using Scanner java
negative_passages.docid: 5669
negative_passages.text: Using user input to determine how many times a for loop iterates
negative_passages.docid: 56522
negative_passages.text: Why can't I use this code to overwrite a string?
negative_passages.docid: 138556
negative_passages.text: Loop cut interrupted
negative_passages.docid: 129071
negative_passages.text: How can I break an outer loop with PHP?
negative_passages.docid: 71651
negative_passages.text: How can I do a line break (line continuation) in Python?
negative_passages.docid: 5970
negative_passages.text: How do I split a string so I can access item x?
negative_passages.docid: 35365
negative_passages.text: What is the easiest/best/most correct way to iterate through the characters of a string in Java?