[Qt-interest] String issue

Scott Aron Bloom Scott.Bloom at sabgroup.com
Wed Sep 16 21:30:58 CEST 2009


You have an end of line character in your country_code table...



-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Yuvaraj R
Sent: Wednesday, September 16, 2009 12:00 PM
To: qt-interest
Subject: [Qt-interest] String issue

Hi All

I stored the country codes in hash table

when i ma getting the country with and appending with some other string

it is displaying the appended string in new line

example

qDebug() <<
country_code[ui->country_code_box->currentText()]+ui->lineEdit->text();

output is :

  93
9845536519

but i need 939845536519



what i have do here ?

please help me

Thanks

Yuvaraj R
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list