Can anyone think of an efficient way to convert a URL (or multiple URLs) in
a string to a link.
eg. myString = "this website http://www.this.com is really cool";
would convert to: "this website
http://www.this.com is really cool.
I tried splitting the string at "http://"; the splitting that aga
Well, simplest is to use one of the many regex classes out there, failing
that
8<--8<--8<--8<--8<--8<--8<--8<--
var test = "Some link http://test.com and another
http://www.berty.co.uklets test.";
var markedUp = "";
var h = test
2 matches
Mail list logo