string validation functions
| From: | Brad Esclavon | Date: | Thu, 13 Mar 2003 02:11:02 +0000 |
| Subject: | string validation functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139429@lists.php.net to get a copy of this message | ||
trim($a_string); // removes all newline, carriage returns, and formating
$in_str_var_name=str_replace("search_for", "replace_with",
$in_str_var_name);
replaces any strings or chars
also- check out php.net documentation on string-- many other useful
functions for string manipulation