Jochem van Dieten wrote:
> Thomas Chiverton wrote:
> 
> 
>>>IIRC, this returns the length in bytes, not in characters.
>>
>>Same thing for ASCII text, innit ?
> 
> 
> Yes (unless we are talking forks/altenate datastreams). But I didn't see 
> anybody confirm that the files were ASCII.

Well, this returns the same as a len count of it's content. But I'm not 
sure what happens with multibyte characters.

I tested it with several files, and alternate streams and filesystem 
overhead and security meta data are not added to this count.

If you want to actually count the number of cars, there is probably no 
alternative then to actually loop through the contents and coutn it 
yourself. (as len() does). But this is way faster :)~

Jesse


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to