[Qt-interest] How do cut the Qstring

Chandru... sekarwagmare at gmail.com
Thu Jun 18 07:30:30 CEST 2009


u try the normal operation of converting QString to char * or string and do
the normal c program of strtok() ...
to convert QString to string ..
 const c QString path;
        QByteArray ba;
    char *str;
 ba = path.toLatin1();
  str = ba.data();




On Thu, Jun 18, 2009 at 10:34 AM, Yuvaraj R <yuvaraj at ongobiz.com> wrote:

> Hi
>
>  I am having the QString like
>
>
> sip:username at roameio.com <sip%3Ausername at roameio.com>
>
>
> from the string i need username only... How can i get username only....
>
>
> Thanks
>
>
> Yuvaraj R
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090618/93536a7d/attachment.html 


More information about the Qt-interest-old mailing list