Automatically Create Clickable Links From Strings Beginning with http

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Brian Gillham

Version Compatibility: ASP

More information:
This function takes a string as input and links any "https" it finds so that they are then clickable in a browser.

Sample Usage:

response.write LinkURLS("Please visit my web site at http://www.freevbcode.com").

This will automatically insert the A HREF tag in the appropriate place.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: