containIgnoreCase

檢查第二個參數字串是否包含在第一個參數字串中,而不考慮大小寫。

類別

字串

函式語法

containIgnoreCase(<parameters>)

參數

參數 類型
字串 字串
字串搜索 字串

簽名和返回的類型

containIgnoreCase(<string>,<string>)

返回布爾值。

範例

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

返回true。

本頁內容