判断字符串是以xx开头
static bool startsWith(String str, Pattern prefix, [int index = 0]) => str != null && str.startsWith(prefix, index);