endWithIgnoreCase

檢查第一個參數字串是否以特定字串結尾(第二個參數字串),而不考慮大小寫。

類別

字串

函式語法

endWithIgnoreCase(<parameters>)

參數

參數 類型
字串 字串
尾碼 字串

簽名和返回的類型

endWithIgnoreCase(<string>,<string>)

返回布爾值。

範例

endWithIgnoreCase("rowing is great", "AT")

返回true。

本頁內容