containIgnoreCase

上次更新: 2023-05-25
  • 主题:
  • Journeys
    查看有关此主题的更多信息
  • 创建对象:
  • Experienced
    Developer

检查第二个参数字符串是否包含在第一个参数字符串中,而不考虑大小写。

类别

字符串

函数语法

containIgnoreCase(<parameters>)

参数

参数 类型
字符串 字符串
搜索字符串 字符串

签名和返回的类型

containIgnoreCase(<string>,<string>)

返回布尔值。

示例

containIgnoreCase("rowing is great", "GREAT")

返回真。

在此页面上