Page 1 of 1

What String function ?

Posted: Wed Feb 25, 2004 12:39 pm
by Shendemiar
I want to delete " 's from string, what function?

Posted: Wed Feb 25, 2004 3:53 pm
by pickle
Use str_replace. Check the PHP manual for stuff like this as it is quite useful.

Posted: Wed Feb 25, 2004 3:53 pm
by evilMind
[php_man]str_replace[/php_man], [php_man]ereg_replace[/php_man], or [php_man]preg_replace[/php_man]

Posted: Wed Feb 25, 2004 5:17 pm
by Shendemiar
pickle wrote:Use str_replace. Check the PHP manual for stuff like this as it is quite useful.
I browse it daily, but i'm new to php, and finding some specific functions isnt that easy.

Posted: Wed Feb 25, 2004 6:12 pm
by pickle
My apologies if I came off a little terse. I just re-read my comment and that may have been the case.

The particular page regarding strings can be found here:
http://www.php.net/strings

The search function on the PHP manual site is the first place I go to find a function. It's powered by Google so I usually find what I'm looking for right away.

Posted: Wed Feb 25, 2004 6:30 pm
by Shendemiar
No problem, i know it might be sometimes frustrating when newbies keep asking the same trivials....