I would really like to know if it is possible, (if so, how?) to split a string into a char variable, i know how to split the integers in a string to an int variable, but i would like to be able to validate words without validating each character from the string!
Please help. thanks
Well a string is actually an array of char's. I don't know if that helps you much.
char myChar=s; // of course the index can be 0 to strlen(s)-1
But I think what you're saying is this : changing an entire string and placing its contents into a char variable, and that simply isn't possible. The string is comprised of characters, that's like fitting several oranges into one.