Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 16:41:46 +0200
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Ilia Chipitsine <ilia@cgu.chel.su>
Cc:        questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Perl thing
Message-ID:  <20020405144146.GR51284@cicely8.cicely.de>
In-Reply-To: <Pine.BSF.4.10.10204051953340.13313-100000@jane.poka.net>
References:  <Pine.BSF.4.10.10204051953340.13313-100000@jane.poka.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> Dear Sirs,
> 
> Perl has very useful "split" function, it "split"s a string according
> arbitrary regular expression. Is there's such a C function ?
> I'm moving few programs from Perl to C.

strsep(3)
Especially the exmaple in the manpage should be interesting for you.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020405144146.GR51284>