On Tue, Jul 10, 2001 at 12:41:55PM +0200, Volker Sturm wrote:
> Hi,
> I am using g++ 2.95.3 on 4.3-STABLE. I want to do some string operations
> in one
> of my functions. The manual for g++ says that there are member functions
> like
> somestring.before(i); or
> somestring.at(0, i);

Did you try the substr method ? For example

        string s2 = s1.substr(pos,length);

--gt

PGP signature

Reply via email to