LEN

傳回字串長度。

使用範本

LEN(A2)

LEN("lorem ipsum")

語法

LEN(文字)

  • 撰寫訊息中... 系統將傳回此字串的長度。

附註

  • LEN counts all characters, even spaces and nonprinting 個字元In cases where LEN returns unexpected values, ensure that there are no such characters in 撰寫訊息中....

另請參閱

LEFT: 傳回指定字串開頭前幾個字元構成的子字串。

右邊: 傳回指定字串結尾倒數幾個字元構成的子字串。

MID: 傳回字串的特定區段。

範例

true
造訪學習中心

您有在公司或學校使用 Google 文件等 Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝 Office 的情況下處理 Office 檔案、建立動態專案計劃和小組日曆、自動整理收件匣及進行其他作業。

搜尋
清除搜尋內容
關閉搜尋
主選單
13371359550969529414
true
搜尋說明中心
true
true
true
true
true
35
false
false