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
Jose Diaz-Salcedo added
cfRssFeed
2 day(s) ago
Raymond Compton added
structBlend
23 day(s) ago
Duncan added
IsZIPUK
23 day(s) ago
Todd Sharp added
getTagContentAll
29 day(s) ago
Gerald Guido added
ListReturnDuplicat...
1 month(s) ago