Is There A Built-In Way to Split Strings In C++?

前端 未结 10 2245
心在旅途
心在旅途 2020-12-08 10:56

well is there? by string i mean std::string

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 11:32

    There's no built-in way to split a string in C++, but boost provides the string algo library to do all sort of string manipulation, including string splitting.

提交回复
热议问题