i have a string and i want to search it to see if it contains a certain word and then get the word after it. is anyone abe to show me how i do this
String aaa = "This string has an id 1234"
I want to see if the 'id' word exists and then get the '1234' value
The value won't always be 4 digits, sometimes more, sometimes less