www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/05/19:04:21

Date: Wed, 5 Feb 2003 19:04:02 -0500
Message-Id: <200302060004.h16042h00842@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: simcole AT colemanworld DOT net
CC: djgpp AT delorie DOT com
In-reply-to: <Yrh0a.17522$QQ4.165456@twister.tampabay.rr.com>
(simcole AT colemanworld DOT net)
Subject: Re: Basic CS C question!
References: <Yrh0a.17522$QQ4 DOT 165456 AT twister DOT tampabay DOT rr DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Given a token of ",", and the input string "abc,,def", strtok() would
return:

	"abc"
	"def"

It sounds like they want a function that returns:

	"abc"
	""
	"def"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019