thanks a lot , you really save me a lot of work 
that was what I was looking for

> -----Message d'origine-----
> De:   Larry Juncker [SMTP:[EMAIL PROTECTED]]
> Date: 5 mai, 2000 16:24
> �:    [EMAIL PROTECTED]
> Objet:        RE: postal code = sector
> 
> Try the following, it worked for me.  I just got through writing a
> shipping
> method for Canadian shipping.
> 
> 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>
> 
> H   Larry Juncker
>  L  Senior Cold Fusion Programmer
>   I Heartland Communications Group
>           Internet Division
> 
> -----Original Message-----
> From: Gilles Ratte [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 05, 2000 2:21 PM
> To: [EMAIL PROTECTED]
> Subject: postal code = sector
> 
> 
> Is there anyone that can help me...
> I have to check if the 3 first characters of a postal code are included in
> a
> specific list
> 
> I have a list of sectors...
> 
> A0A to A2V = sector 48
> B0A to B2T = sector 44
> 
> Is there a simple way to do that ... or a custom tag that could help me
> with
> this
> 
> thanx
> 
> 
> --------------------------------------------------------------------------
> --
> --
> 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.
> 
> 
> --------------------------------------------------------------------------
> ----
> 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.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to