Decode
14-09-2008, 03:55 PM
I'm trying to figure out how to separate the id from a youtube url, however I can't use explode because after the id in the url there is nothing to explode.
http://www.youtube.com/watch?v=Q4pY3QtiGyo
I need to separate the bit in bold, however someone might imput an url like this-
http://www.youtube.com/watch?v=Q4pY3QtiGyo&feature=rec-fresh
Which would make exploding it even harder, any ideas?
http://www.youtube.com/watch?v=Q4pY3QtiGyo
I need to separate the bit in bold, however someone might imput an url like this-
http://www.youtube.com/watch?v=Q4pY3QtiGyo&feature=rec-fresh
Which would make exploding it even harder, any ideas?