Getting contents of qtablewidget cell to qstring array removing commas(splitting)
Unsolved
General and Desktop
-
I have a qtablewidget with 3 cells in each row! I won't to get the contents of the 1st row 3 rd column into string array. The 3rd column has several words separated by commas! I want to get each word into the array with out the comma! How can I achieve it?
QString strarray[]= {ui->tableWidget_2->item(0,2)->text()};
from the above code I can get the entire content of the 3rd cell into a string array as a single index along with commas! But I wont each word having a single index and no commas in the array!
-