Re: string validating
| From: | Brad Esclavon | Date: | Thu, 13 Mar 2003 02:12:10 +0000 |
| Subject: | Re: string validating | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139430@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