Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!orcenl!bengsig From: bengsig@oracle.nl (Bjorn Engsig) Newsgroups: comp.lang.c Subject: Re: Function that does what cut does? Message-ID: <1010@nlsun1.oracle.nl> Date: 8 Oct 90 15:25:54 GMT References: <597@dynasys.UUCP> Reply-To: bengsig@oracle.nl (Bjorn Engsig) Organization: Oracle Europe, The Netherlands Lines: 11 Article <597@dynasys.UUCP> by jessea@dynasys.UUCP (Jesse W. Asher) says: |I was wondering if there was a function in the standard library that |does the same thing that cut does Your best try will probably be strtok(), which gives you one field at a time from a string with a user specified set of delimiters that even can change as you pick up your fields. -- Bjorn Engsig, E-mail: bengsig@oracle.com, bengsig@oracle.nl ORACLE Corporation From IBM: auschs!ibmaus!cs.utexas.edu!uunet!oracle!bengsig "Stepping in others footsteps, doesn't bring you ahead"