Using <cffile action="read" file="c:\temp\temp.1" variable="test"> to read an external 
file to a variable called "test"

The external file I'm reading in is not always the same (number of lines, text, etc.).

What I do know is the file will always contain the text "Number users:" with some text 
following it which I need to grab and set into another variable "users"

So the idea is to loop through the variable "test" and once I find the text "Number 
users:" grab the information after the ":" up to the period "." and set "1-20" into 
the variable "users"

I have the loop part but not sure of the correct syntax to pluck out everything from 
the ":" to the end of the "."



Example:

blah...blah

blah...blahblah...blah
blah...blah

blah...blah

blah...blah

Number users: 1-20.

blah...blah

blah...blah





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:410
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to