What String function ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

What String function ?

Post by Shendemiar »

I want to delete " 's from string, what function?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Use str_replace. Check the PHP manual for stuff like this as it is quite useful.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
evilMind
Forum Contributor
Posts: 145
Joined: Fri Sep 19, 2003 10:09 am
Location: Earth

Post by evilMind »

[php_man]str_replace[/php_man], [php_man]ereg_replace[/php_man], or [php_man]preg_replace[/php_man]
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post 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.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

No problem, i know it might be sometimes frustrating when newbies keep asking the same trivials....
Post Reply