Comapare string with enum values

I have to read a string such as "<string> <something> <number>" and to check if <string> == "some string", if <something> belongs to given enum list and if <number> is integer. I am not sure how I should devide the string in three parts and also how to compare the second part with enum value... Could somebody help?
Topic archived. No new replies allowed.