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
Tayo Akinmade added
arrayTrim
4 day(s) ago
Will Belden added
longTime
9 day(s) ago
James Sleeman added
quickSort
19 day(s) ago
Ben Forta added
GetHostAddress
22 day(s) ago
Top Rated
EksporSQLData
Rated 5.0, 16 time(s)
backupDatabase
Rated 5.0, 13 time(s)
indentXml
Rated 5.0, 10 time(s)
generateSsccAsn
Rated 5.0, 4 time(s)