char.
startswith
返回一个布尔数组,该数组是 True 其中的字符串元素 a 从开始 prefix ,否则 False .
调用 str.startswith 元素的。
任选 start ,从该位置开始测试。任选 end 在那个位置停止比较。
布尔数组
参见
str.startswith