title: How to find the last word in a String in Java?
body: <p>How can I find the last word of a string? I am not trying to find a fixed word, in other words, I would not know what the last word is, however I want to retrieve it.</p>