Please tell me which one is going to be quicker to find and get from string couple of characters.
I want to search through a long string to find match for a youtube id, I don't know where it is going to be. I know the pattern that will occur - youtube.com/v/videoid&...
How do i accomplish this?
What is the fastest way as far as performance is considered?