Easiest way to convert a URL to a hyperlink in a C# string?
- by nbirkes
I am consuming the Twitter API and want to convert all URLs to hyperlinks.
What is the most effective way you've come up with to do this?
from
string myString = "This is my tweet check it out http://tinyurl.com/blah";
to
This is my tweet check it out <a href="http://tinyurl.com/blah">http://tinyurl.com/>blah</a>