Hi,
Use the @replace tag to look for the url and add the <a
href> tag to the text copy. Works great if the text is coming
from a database with url also in a separate column. By assigning the copy
to a variable you can check for numerous web urls in the copy by just repeating
the line and changing the weblink variable.
Ted
<@ASSIGN NAME="vcopy" VALUE="<@REPLACE STR="<@COLUMN 'webpage.advcopy' encoding='none'>" FINDSTR="<@COLUMN 'webpage.weblink'>" REPLACESTR='<A TARGET="_blank" HREF=""><@COLUMN "webpage.weblink"></A>' ENCODING=NONE>" SCOPE="local">
From: Diodeus [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 11:38 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Replace http:// with URL
Does anyone have an easy way to replace a URL in a block of text with an
actual URL tag?
ie:
"http://www.blank.com" becomes "http://www.blank.com"
- James
->|- Diodeus, noun: the Greek God of diodes, as opposed to Typos, the Greek God of typing mistakes. He keeps moving the keys on me.
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
