Re: Hyphens and MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-01-28 at 14:21 +0000, Mark Benson wrote:
>  Is there an easy way to search and replace/remove characters in a string in PHP?

www.php.net/str_replace , www.php.net/preg_replace . You can strip out
the - characters with str_replace("-", "", $string);
-- 
Josip Dzolonga,
dzolonga at mt dot net dot mk

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux