isEmpty(); hasPerfix(String) hasSuffix(String) Int(String) //强制类型转换 String.characters.count //计算字符串的长度 也可以用
< !=
字符串连接字符 charA.append(varB)