有没有函数将string中的某一部分copy到另一个string?解决方法

有没有函数将string中的某一部分copy到另一个string?rt[解决办法]substr抓字串即可

有没有函数将string中的某一部分copy到另一个string?
rt

[解决办法]
substr抓字串即可