length

傳回參數中字串運算式的字元數。

類別

String

函式語法

length(<parameters>)

參數

  • 字串

簽名和傳回的類型

length(<string>)

傳回整數。

範例

length("Hello World")

返回11。

本頁內容

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