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