AccessLinkClean(strval)
Last updated January 3, 2002
Version: 1 | Requires: ColdFusion 5 | Library: StrLib
Description:
Takes an Access "Hyperlink" field value, and turns it into a regular URL by removing the extra pounds at the beginning and end of the URL. This preserves pounds included as internal references.
Return Values:
Returns a string.
Example:
<CFOUTPUT>
Access Link: #AccessLink#<BR>
Cleaned: #AccessLinkClean(AccessLink)#
</CFOUTPUT>
Parameters:
| Name | Description | Required |
|---|---|---|
| strval | Variable containing the MS Access link you want to 'clean'. | Yes |
Full UDF Source:
<cfscript>
/**
* This turns a Microsoft Access hyperlink field into a standard URL.
*
* @param strval Variable containing the MS Access link you want to 'clean'.
* @return Returns a string.
* @author Mark Andrachek (hallow@webmages.com)
* @version 1, January 3, 2002
*/
function AccessLinkClean(strval)
{
return Mid(strval,2,Len(strval)-2);
}
</cfscript>
Search CFLib.org
Latest Additions
Shawn Porter added
DeMoronize
3 hour(s) ago
Chris Carey added
readPropertiesFi...
1 day(s) ago
Randy Johnson added
lastDayofWeek
3 day(s) ago
Frank Marion added
sitemapPing
7 day(s) ago
Top Rated
QuickSort
Rated 5.0, 3 time(s)
indentXml
Rated 5.0, 3 time(s)
queryColumnsToSt...
Rated 5.0, 3 time(s)
generateSsccAsn
Rated 5.0, 3 time(s)