Removing Comment Character from QStringList

329 Views Asked by At

I am parsing the values of a QStringList for a commented line where the commented line starts with the "#" character. How would I go about removing the "#" from what I display to the user?

1

There are 1 best solutions below

0
On BEST ANSWER

I just figured out how to do what I wanted like so:

columnHeaderList << inputLines.remove("#").split("\t");