开发者

PHP Hash Removal

How 开发者_运维知识库can I remove all hashes from a string with PHP?

I've tried str_replace("#","",$message), but it didn't work.


Remember that str_replace() return replaced text.

Example:

$a = '### Foo ###';
$a = str_replace('#', '', $a);
echo $a;

DEMO

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜