0xAX
0xAX

Reputation: 21817

Copy part of QString

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

Answers (1)

gregseth
gregseth

Reputation: 13408

Look at QString::mid(int start, int length) in the documentation.

Upvotes: 9

Related Questions