Yes, but what I wa sgetting at is: Is the Span... Approach more efficient than the Find/If/Mid approach?
Andy > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Teagle > Sent: 18 March 2005 08:44 > To: [email protected] > Subject: RE: [msvc] Is one function more efficient here? > > > > Both of these methods do the same thing, but in different > ways. Would > > you say one of these is more efficient? And if so, why? > > They could be combined into one method, and for extra > flexibility, if it was called NextToken(), you could > optionally specify what character represented the separator > between tokens - thus, you could easily split, say, a > comma-separated string instead. > > -- > Jason Teagle > [EMAIL PROTECTED] > > > > _______________________________________________ > msvc mailing list > [email protected] > See > http://beginthread.com/mailman/listinfo/msvc_beginthread.com > for subscription changes, and list archive. > > > This message has been scanned for viruses by MailControl - > (see http://bluepages.wsatkins.co.uk/?4318150) > This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
