Originally Posted by
mperemsky
1. loop though both words at the same time. Once you encounter a letter that is different print out the substring of the first word.
2. Loop through the string. Remember the last character. If the current character is the same as the last character do not print it.
3. Easiest way, loop through each character of the first work. Loop through the second word, if the character appears do not print it.
In 2, how do i remember the last character in a loop.
In 1, how do I quit the loop after substring the first word
Thanks for your help by the way