In a messaging application I am creating, I need to find any instances of '@'. This isn't where I am having trouble though. Once the '@' is found, I need to get the string that comes after it but before any spacing. Example: "@Elitis Hello World". In that example I'd need to find the entire string '@Elitis' and save it into a variable. The problem is that the '@' could be anything: '@Shrimp', '@Jouster', etc.
I know about .search, and .test but would those be of any use in this situation?