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 To: simcole AT colemanworld DOT net CC: djgpp AT delorie DOT com In-reply-to: (simcole AT colemanworld DOT net) Subject: Re: Basic CS C question! References: 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 Precedence: bulk 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"