a SPLIT function

"Frank Grenzel" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.qt
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi!

I'm looking for a function like "split" in VB for C++ or QT (2.3).

This function should work like this:
i.e. I've a QString s="a,b,c" then v=split(s,",") return an array with 
v[0]="a", v[1]="b" and v[2]="c" ("," is the seperator).

Anybody knows a function like this?

(Please don't say "QStringList". I've tested it and the access with an 
iterator it's to circumstantially)

cu
Frank
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.