endWithIgnoreCase

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

類別

String

函式語法

endWithIgnoreCase(<parameters>)

參數

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

簽名和傳回的類型

endWithIgnoreCase(<string>,<string>)

傳回布林值。

範例

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

傳回true。

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now