傳回字串長度。
使用範本
LEN(A2)
LEN("lorem ipsum")
語法
LEN(文字)
撰寫訊息中...系統將傳回此字串的長度。
附註
LENcounts all characters, even spaces and nonprinting 個字元In cases whereLENreturns unexpected values, ensure that there are no such characters in撰寫訊息中....
另請參閱
LEFT: 傳回指定字串開頭前幾個字元構成的子字串。
右邊: 傳回指定字串結尾倒數幾個字元構成的子字串。
MID: 傳回字串的特定區段。
範例
這個頁面可能含有使用 AI 技術翻譯的內容,也許會有錯誤。