I wrote a snippet of code that determines Canadian Postal Code (the first
three letters any way). What do I do to make this snippet a custom tag to
use in other places. I will place my code below.
CFIF #Left(ShipZip,1)# EQ #Left(StartRange,1)#>
<CFIF #Mid(ShipZip,2,1)# GTE #Mid(StartRange,2,1)#
AND #Mid(ShipZip,2,1)# LTE #Mid(EndRange,2,1)#>
<CFIF #Mid(ShipZip,3,1)# GTE #Right(StartRange,1)#
AND #Mid(ShipZip,3,1)# LTE #Right(EndRange,1)#>
<CFSET Zone = #ZoneRange#>
</cfif>
</cfif>
</cfif>
Thank You In Advance
H Larry Juncker
L Senior Cold Fusion Programmer
I Heartland Communications Group
Internet Division
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.