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);

wich results in slideimages[0]slideimages[1]slideimages[2]
Can somebody help me out here??

thnx
Thijs

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to