Wonderful! It worked! Thanks a million!

;D

I had no idea you could just use 'atoi' on a character array.
...my 'plan B' was to use the WString library, and convert the character array into a string, then the string into an integer...totally inefficient and space consuming, especially since I only have an atmega168 with my board

Edit:
@lloyddean:
Thanks for your input also, It works perfectly also.
just a quick question though. i can see that atoi(&command[1]) will convert all characters from the second position in the array onwards, but is there anyway to start the conversion at for example command[1] and stop it at command[3]?...just curious, Thanks.