Are there any fast and easy ways to remove all capital letters and punctuation from a sentence? Also how would I go about putting a space in place of a punctuation mark ONLY if it did not already have a space after it.
Example:
"Motley Crue RULES, they are the best!"
and
"Motley Crue RULES,they are the best!"
both become
"motley crue rules they are the best"
the point being to get the same line in spite of wether or not the person typing the input used capitals, punctuation at all or wethe ror not they put a space after it.
ID:166283
![]() Aug 26 2006, 10:24 pm
|
|
![]() Aug 26 2006, 10:27 pm
|
|
The ckey() proc can do that for you, but it removes spaces. Not sure if that suits your needs.
|