you could either use
code:
Message = Message.split(" ");
Debug.Trace(Message[0]); //The command
Debug.Trace(Message[1]); //The Parameter
Mulitple spaces can cause errors
or if you know the length of the command
code:
Command = Message.substr(0,5); //example
Parameter = Message.substr(6,Message.length); //Rest of Message
The best way however is to use a RegExp on the Message variable. I don't how these work but if you use the search function, CookieRevised usually advises to do this and has posted numerous examples