ch Gray [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 28 maart 2003 12:39
Aan: Thijs Lensselink; [EMAIL PROTECTED]
Onderwerp: RE: [PHP] string replace problem!!
> Good day ,
>
> I have the following string.
> ,slideimages[0],slideimages[1],slideimages[2]
> Wich starts with a ',
> Good day ,
>
> I have the following string.
> ,slideimages[0],slideimages[1],slideimages[2]
> Wich starts with a ','. No my problem is i want to strip
> this first and only the first ','.
>
> i've tried
> $string = ",slideimages[0],slideimages[1],slideimages[2]";
> $string = preg_replace('/^./
Good day ,
I have the following string.
,slideimages[0],slideimages[1],slideimages[2]
Wich starts with a ','. No my problem is i want to strip
this first and only the first ','.
i've tried
$string = ",slideimages[0],slideimages[1],slideimages[2]";
$string = preg_replace('/^./','',$string,1);
wi
3 matches
Mail list logo