then you could get it by doing
var = rereplace(i,'[^0-9]*','','all')
that will remove any none digit characters, you will also loose
formating so you might want to modify it to allow () - ect....
Adam H
On Wed, 28 Jul 2004 07:49:08 -0500, Scott Adams <[EMAIL PROTECTED]> wrote:
> I need some help on this. I'm reading in a file and dumping it to a variable "i" and then displaying it to the screen using a cfloop
>
> <cfloop index=i List="#i#">
> #i#
> </cfloop>
>
> The file being read in looks something like this
>
> Name: Satan
> Company: MikeRoweSoft
> Address: 666 Hell Crescent
> House Number: 666
>
> From the above loop how can I "pluck" out the house number "666" or whatever it might be and dump it to another variable for future referencing?
>
> varNew = 666
>
> --
> _______________________________________________
> Find what you are looking for with the Lycos Yellow Pages
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=""> >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
