Search Tools Links Login

Link URLs


Finds any URL found within specified text and creates a hyper link for http, https, ftp, and email addresses.

Original Author: Lewis E. Moten III

Inputs

asContent - Content to be parsed for URLs

Assumptions

This code assumes that you have vbScript 5.0 (or higher) installed on your server. If not, you will instantly receive an error on your page.

Returns

returns the content with HTML encoded hyperlinks.

API Declarations

Copyright (c) 2000, Lewis Moten. All rights reserved. Send all mofications to the author.

Code

Place this line in your immediate window and run it. It will return "Test5".
Print Split("Test0 Test1 Test2 Test3 Test4 Test5 Test6", " ")(5)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 70 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.