I'm fairly new to Java programming and I'm wondering if there is any method of locating a specific set of characters in the last word of a sentence.
An example of this would be trying to find the characters "go" in the phrase : I'm am going to the Go-station.
Looking at this, we can see that the characters "go" appears twice but is there any method of locating just the "go" in the last word of the phrase ("Go-station") and not the first one.