LEN

ส่งคืนความยาวของสตริง

ตัวอย่างการใช้งาน

LEN(A2)

LEN("lorem ipsum")

รูปแบบคำสั่ง

LEN(text)

  • text - ระบบจะแสดงผลความยาวของสตริง

หมายเหตุ

  • LEN จะนับจำนวนอักขระทั้งหมด รวมทั้งเว้นวรรคและอักขระที่ไม่พิมพ์ ในกรณีที่ LEN แสดงผลค่าที่ไม่คาดคิด ให้ตรวจสอบว่าไม่มีตัวอักขระดังกล่าวใน text

ดูเพิ่มเติม

LEFT: ส่งคืนสตริงย่อยจากช่วงแรกของสตริงที่ระบุ

RIGHT: ส่งคืนสตริงย่อยจากตอนปลายของสตริงที่ระบุ

MID: ส่งคืนส่วนของสตริง

ตัวอย่าง

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

ค้นหา
ล้างการค้นหา
ปิดการค้นหา
เมนูหลัก
4082758880160384210
true
ค้นหาศูนย์ช่วยเหลือ
true
true
true
true
true
35
false
false