[Qt-interest] String issue
Yuvaraj R
yuvaraj at ongobiz.com
Thu Sep 17 07:43:04 CEST 2009
Hi
I tried but it showing 43543543"r"98455365189
then i used left method to remove last character, it is working
Thanks
Yuvaraj R
On Thu, Sep 17, 2009 at 10:31 AM, Eric Springer <eric at brictus.com> wrote:
> On Thu, Sep 17, 2009 at 5:00 AM, Yuvaraj R <yuvaraj at ongobiz.com> wrote:
> >
> > qDebug() <<
> country_code[ui->country_code_box->currentText()]+ui->lineEdit->text();
>
> I haven't tested it myself, but it sounds like its from what Scott is
> suggesting: you're storing a newline in your country code, in which
> case something like this should work:
>
> qDebug() <<
> country_code[ui->country_code_box->currentText()].remove('\n')+ui->lineEdit->text();
>
>
> > what i have do here ?
> >
> > please help me
> >
> > Thanks
> >
> > Yuvaraj R
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090917/fb822d8c/attachment.html
More information about the Qt-interest-old
mailing list