07-20-2009, 03:08 AM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Aug 2008
Posts: 16
Thanks: 7
|
Give me remove special characters from a string, plz
Hello everybody,
I am a newbie. I want to remove all special characters from a string (keep alpha-numeric character only). And replace a space (or many spaces) with "-" character.
Code:
Ex: This is bullshit M$ Word. They make me 100% crazy.
Will be: This-is-bullshit-M-Word-They-make-me-100-crazy
Any help will be appreciated. Thanks in advance.
Best regards,
SuperThin.
|
|
|
|