Function that does what cut does?

Bjorn Engsig bengsig at oracle.nl
Tue Oct 9 01:25:54 AEST 1990


Article <597 at dynasys.UUCP> by jessea at 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 at oracle.com, bengsig at oracle.nl
ORACLE Corporation   From IBM: auschs!ibmaus!cs.utexas.edu!uunet!oracle!bengsig

	"Stepping in others footsteps, doesn't bring you ahead"



More information about the Comp.lang.c mailing list