From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b2340cc999c69365,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.74.201 with SMTP id w9mr11568697pbv.0.1324673719985; Fri, 23 Dec 2011 12:55:19 -0800 (PST) Path: lh20ni56614pbb.0!nntp.google.com!news2.google.com!postnews.google.com!i6g2000vbe.googlegroups.com!not-for-mail From: "brian.b.mcguinness@lmco.com" Newsgroups: comp.lang.ada Subject: Find_Token needs another argument Date: Fri, 23 Dec 2011 12:55:19 -0800 (PST) Organization: http://groups.google.com Message-ID: <04b92e94-6c06-47c0-8292-789196c4d9eb@i6g2000vbe.googlegroups.com> NNTP-Posting-Host: 74.102.105.179 Mime-Version: 1.0 X-Trace: posting.google.com 1324673719 11696 127.0.0.1 (23 Dec 2011 20:55:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Dec 2011 20:55:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i6g2000vbe.googlegroups.com; posting-host=74.102.105.179; posting-account=RCzICQkAAAC666WraEqUl7Zzu1cGzUUv User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-12-23T12:55:19-08:00 List-Id: Find_Token should take a "From" argument specifying the index where the search is to start so you don't have to keep slicing the string to find multiple tokens. Given the current need for slicing, it looks as if it might be more efficient to use Index to scan for nondelimiter and delimiter chars. --- Brian