Quote Originally Posted by Alundra View Post
QString has what you want : http://qt-project.org/doc/qt-5/QString.html
You have to use Right, Left, IndexOf and LastIndexOf

Is there an easier way to do this, because potentially there could be many strings in it that I don't want the spaces removed from. I'm not even sure how to approach this.

Like:

Qt Code:
  1. @BEGIN:4; 17, 1;1, "This is some text right here."; 3; 18;1, "This is more text."; 3; 18;1, "Another set of text right here."; 3; 2; 5;11, LABEL;end;@LABEL:7, 1;8;end;@END
To copy to clipboard, switch view to plain text mode