|
Subject:
|
string function
|
|
Posted By:
|
Moharo
|
Post Date:
|
1/30/2004 12:52:29 PM
|
how can i find out whether a character within a word or phrase is a letter or a punctuation character like dot or comma or colon or semicolon (.,:;><) etc ?
the genuine genius
|
|
Reply By:
|
nikolai
|
Reply Date:
|
1/30/2004 5:25:19 PM
|
Use a regular expression match. http://www.php.net/pcre http://www.php.net/preg_match
I would suggest searching for any character that's NOT an alphanumeric character.
Take care,
Nik http://www.bigaction.org/
|