Check if string is a URL?

How do you check if a string contains http:// or not? Thanks :)