我有一个 QString。我需要创建此 QString 的副本。在 Delphi 中这个函数 copy
function Copy ( Source : string; StartChar, Count : Integer ) : string;
我在 Qt 中需要同样的东西。
谢谢。
最佳答案
查看 documentation 中的 QString::mid(int start, int length)
.
关于qt - 复制部分QString,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2523978/