dude come on...
your question was:
shouldn't be too hard to make it work for all cases but I'm not gonna write the code for you.I've got QString with 1000 characters and I want to split it to QStringList or QList<QString> by 200 chars per line?
btw Qt Documentation for QString::remove() mentions:
If the specified position index is within the string, but position + n is beyond the end of the string, the string is truncated at the specified position.
Bookmarks