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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7fc767abbf17c947 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Parsing a line into strings Date: 1998/07/09 Message-ID: <6o33en$u18$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 369925503 References: <35A3A199.D55C3153@oit.edu> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jul 09 18:51:03 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT; Gateway2000) Date: 1998-07-09T00:00:00+00:00 List-Id: In article <35A3A199.D55C3153@oit.edu>, C N wrote: > Hi all, > > I've been looking for a comand in Ada that is equivilent to C's > "strtok" . So far - no luck. > I need to break up a line that is read in from a file with the strings > delimited by comas and spaces. > That command would be "strtok". :-) strtok is NOT a C command. It is a library function. If you have the library, you can call it from C or from Ada. Of course if this is a class assignment, you teacher may be a bit dissappointed that you didn't write it yourself... T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum