Reputation: 21817
I have a QString. I need to create a copy of this QString. In Delphi this function copy
function Copy ( Source : string; StartChar, Count : Integer ) : string;
I need the same in Qt.
Thank you.
Upvotes: 2
Views: 6293
Reputation: 13408
Look at QString::mid(int start, int length)
in the documentation.
Upvotes: 9