text-utils.h 中是各种操作字符串的函数,多用于解析命令行。重要的几个包括模板函数 CnoverStringToInteger()和为 float 和 double 重载后的 ConvertStringToReal()。还有模板 SplitStringToIntegers()输出时整型向量,和 SplitStringToVectors()将字符串切分成字符串向量。