|
-
Jun 3rd, 2002, 04:16 PM
#1
string editing
i am creating a program to see if a word is a palindrome, but i want it, when the word is read, to ignore the spaces and punctuation in the word/sentance. i am using apstring. how would i og about doing this.
for example, if i type "madam i'm adam", the program reads the spaces, and backwards it reads "mada m'i madam" which is wrong, i want it to ocmpletly ignore spaces. puct. thanks
tony
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|