RE: Getting count of rows in a text file -- best approach?

Author: Richard Kaye

Posted: 2017-04-21 at 10:24:08

Only when it fits the situation. :-)

Dirty? Really? One line of code returns the number of rows in your string. Which was your original question.

Benchmark it and you'll find out which one is faster and whether or not you can live with that slightly soiled sensations... ;-)

--

rk

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com

Sent: Friday, April 21, 2017 11:20 AM

To: profoxtech@leafe.com

Subject: RE: Getting count of rows in a text file -- best approach?

On 2017-04-21 10:47, Richard Kaye wrote:

> ALINES()?

Is that your answer for everything today? lol

Nah, that feels no less dirty than my approach. My bet is that would

require as many (if not more) processing cycles, but of course only

testing would show conclusively if at all.

Thanks though!

--Mike

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/BN4PR10MB09136D18738401672D131BB3D21A0@BN4PR10MB0913.namprd10.prod.outlook.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2017 Richard Kaye