RE: [PHP] string replace problem!!

2003-03-28 Thread Thijs Lensselink
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 ',

RE: [PHP] string replace problem!!

2003-03-28 Thread Rich Gray
> 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('/^./

[PHP] string replace problem!!

2003-03-28 Thread Thijs Lensselink
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