I was using a double loop to solve this problem before. (Using an until to stop once I find what I'm looking for.)
My question is now is about speed?
What is faster?
A loop method or using FIND or FINDSTR?
Do they both loop through an array to find a match?
Is the only advantage using the FIND or FINDSTR is saving myself keystrokes?
I'm just curious about this, it's not really a requirement.
Thanks for all the info and help!!!
" I used to be an Optimist until I knocked over the glass. "
Randy Smith Programmer/Analyst
FIND and FINDSTR were designed to be much faster: they make a single pass across the string rather than performing an extract on the string once for each inner loop.
Assuming of course the Universe/Unidata implementations are roughly equivalent to the original implementation...
Suggestion: time it yourself and see :-)
Stewart -- Stewart Leicester | http://www.ThreatFocus.com V.P. Engineering | mailto:[EMAIL PROTECTED] Threat Focus, Inc. | 925-551-0130 Voice "Knowledge is your best defense" | 509-695-1373 Fax ------- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users
