string str = "hello"; str.substr(0,2); //输出"he", 表示[0,2) 相关文章: 2021-11-13 2022-12-23 2022-12-23 2022-12-23 2021-09-08 2021-09-05 2021-08-03