by "friend.blah@[EMAIL PROTECTED]
" <friend.blah@[EMAIL PROTECTED]
>
May 6, 2008 at 01:35 AM
On May 6, 10:32=A0am, Ian Collins <ian-n...@[EMAIL PROTECTED]
> wrote:
> friend.b...@[EMAIL PROTECTED]
wrote:
> > i have a string say
>
> > string crap =3D "abc:abd:aass";
>
> Assuming this is std::string...
>
> > at the end of my string i want to place new characters like "xx"
> > so the final string looks like
>
> > string crap =3D "abc:abd:aassxx";
>
> > how to resolve this issue...
>
> By adding them?
>
> What have you tried?
>
> --
> Ian Collins.
i am sorry... i got it....
it will work if do it like this
crap.replace(crap.length(),1,"xx");
anyway thanks...