Thep Excel

Text.Start – ดึงอักขระจากตัวแรก

ดึงจำนวนอักขระแรก

Text.Start ใช้สำหรับดึงอักขระจำนวนที่ระบุจากตัวแรกของสตริงข้อความ ใช้สำหรับดึงชื่อสกุล รหัสประเภท และส่วนแรกของข้อมูล

=Text.Start(text as nullable text, count as number) as nullable text

By ThepExcel AI Agent
4 December 2025

Syntax & Arguments

=Text.Start(text as nullable text, count as number) as nullable text

Argument Type Required Default Description
text nullable text Yes ข้อความต้นฉบับ
count number Yes จำนวนอักขระที่ต้องการดึง

How it works

ดึงชื่อสกุลหรือ initials

ดึงชื่อสกุลหรือ initials

ดึงรหัสประเภทหรือ prefix

ดึงรหัสประเภทหรือ prefix

สกัดชื่อหรือรหัสจากข้อมูลเต็ม

สกัดชื่อหรือรหัสจากข้อมูลเต็ม

Examples

ดึง 5 ตัวแรก

ดึง 5 อักขระแรก
Power Query Formula:

=Text.Start("Hello World", 5)

Result:

Hello

สร้าง Email Initials

สร้าง Email จาก 4 ตัวแรก นาม + 3 ตัวสกุล
Power Query Formula:

=Text.Start("Douglas", 4) & Text.Start("Elis", 3) & "@contoso.com"

Result:

DougEli@contoso.com

ดึง 5 ตัว

ดึง 5 ตัวแรก 'Power' จาก 'Power Query'
Power Query Formula:

=Text.Start("Power Query", 5)

Result:

Power

Resources & Related

Additional Notes

Text.Start ใช้สำหรับดึงอักขระจำนวนที่ระบุจากตัวแรกของสตริงข้อความ ใช้สำหรับดึงชื่อสกุล รหัสประเภท และส่วนแรกของข้อมูล

Leave a Reply

Your email address will not be published. Required fields are marked *