Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2008 00:45:46 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   How to split a C string by a string?
Message-ID:  <68855.59916.qm@web57008.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is "xxx") similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this?

Many thanks in advance.

Kind regards
Unga




      



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