2
我需要將qstring拆分爲兩個字符串,但只知道拆分器字符的索引。這裏有一個的exaple拆分QString與拆分索引
input:
PineApple
3
Output:
Pine // 'e' has index 3, so it is the splitter char and it belongs to the first part
Apple
我需要將qstring拆分爲兩個字符串,但只知道拆分器字符的索引。這裏有一個的exaple拆分QString與拆分索引
input:
PineApple
3
Output:
Pine // 'e' has index 3, so it is the splitter char and it belongs to the first part
Apple