Re: Single Quote in String functions

From: Date: Thu, 12 Jul 2007 12:09:13 +0000
Subject: Re: Single Quote in String functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-258683@lists.php.net to get a copy of this message
Sancar Saran wrote:
Hi, I cannot do any operation wiht single quote like explode("'",$strContent); Did I miss someting ? Regards Sancar
what do you mean by 'cannot do' ? If I do: <?php $string = "part1 ' part2"; print_r(explode("'", $string)); it will return Array( [0] = "part1 " [1] = " part2" )

« previous php.general (#258683) next »