Hello, I am with this string, as an example:
<Ttest> This is a test, so you should know this is just a test area. We test thing here. This can be a very long description, and other things like that. Mike, John, Luke, Paul, Buzz, and Test are here with you. There is a staff on the floor.
What I want to do is grab the line of 'users' in the current room. So I'd like to extract "Mike, John, Luke, Paul, Buzz, and Test are here with you." from the line above.
Issue is, I'm not sure how to exactly do it. What I was thinking is checking are here with you. first, then going back via " ," (space then ,) until there is none left or " ," occurs in more then one word from the last " ,".. But this seems wierd/difficult to do.
I know theres not a 100% way to do this, but theres probably a good way that I am not sure about.. Thanks!
The 'trick' is really to find the 'pattern', and then to match on this for any given input.