endWithIgnoreCase

上次更新: 2023-08-18
  • 主題:
  • Journeys
    檢視有關此主題的更多資訊
  • 建立對象:
  • Experienced
    Developer

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

類別

字串

函式語法

endWithIgnoreCase(<parameters>)

參數

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

簽章與傳回的型別

endWithIgnoreCase(<string>,<string>)

傳回布林值。

範例

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

傳回true。

此頁面上的