actually i meant a function to search through text to find the patter
"http://"; OR "www." and returns that entire string (to the next space) back
with <a href=""> tags around it

-chris.alvarado
[application.developer]
4 Guys Interactive, Inc.

-----Original Message-----
From: Park, Simon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 11:20 AM
To: CF-Talk
Subject: RE: UDF or Custom Tag


<CFSCRIPT>
function CreateHTMLLink(textin) {
        textout = "<a href='" & textin & "'>" & textin & "</a>";
        return textout;
}
</CFSCRIPT>

<CFOUTPUT>
#CreateHTMLLink("http://www.yahoo.com";)#
</CFOUTPUT>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Simon Park              Computer Systems Management, Inc.
Director, E-Business    205 South Whiting Street #201
Ph: 703-823-4300 x119   Alexandria, VA  22304
fax: 703-823-4301       http://www.csmi.com

> -----Original Message-----
> From: chris.alvarado [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 11:45 AM
> To: CF-Talk
> Subject: UDF or Custom Tag
>
>
> does anyone have a UDF or Custom tag that will turn,
>
> http://www.yahoo.com into <a
> href="http://www.yahoo.com";>http://www.yahoo.com</a>
>
>
> i would just build it myself but im swamped.
>
> thanks a million.
>
> -chris.alvarado
> [application.developer]
> 4 Guys Interactive, Inc.
>
>
>

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to