Page 1 of 1

explode problems...

Posted: Thu Dec 16, 2004 1:19 pm
by Todd_Z
If I have a line such as "<img src='pic.jpg' alt='pic'>" then i explode it around the "<", then i get two parts, is there a way to only give me the right of the < if there is nothing to the left?

Posted: Thu Dec 16, 2004 6:28 pm
by McGruff
I'm not sure exactly what your need is here but it sounds like regex might be the answer.