startWithIgnoreCase startWithIgnoreCase

如果第二个参数是第一个参数的前缀而不考虑大小写,则返回true。

类别

字符串

函数语法

startWithIgnoreCase(<parameters>)

参数

参数
类型
字符串
字符串
前缀
字符串

签名和返回的类型

startWithIgnoreCase(<string>,<string>)

返回布尔值。

示例

startWithIgnoreCase("rowing is great", "RO")

返回真。

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9