ดึง 5 ตัวแรก
=Text.Start("Hello World", 5)
Hello
ดึงจำนวนอักขระแรก
Text.Start ใช้สำหรับดึงอักขระจำนวนที่ระบุจากตัวแรกของสตริงข้อความ ใช้สำหรับดึงชื่อสกุล รหัสประเภท และส่วนแรกของข้อมูล
=Text.Start(text as nullable text, count as number) as nullable text
=Text.Start(text as nullable text, count as number) as nullable text
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
| text | nullable text | Yes | ข้อความต้นฉบับ | |
| count | number | Yes | จำนวนอักขระที่ต้องการดึง |
ดึงชื่อสกุลหรือ initials
ดึงรหัสประเภทหรือ prefix
สกัดชื่อหรือรหัสจากข้อมูลเต็ม
=Text.Start("Hello World", 5)
Hello
=Text.Start("Douglas", 4) & Text.Start("Elis", 3) & "@contoso.com"
DougEli@contoso.com
=Text.Start("Power Query", 5)
Power
Text.Start ใช้สำหรับดึงอักขระจำนวนที่ระบุจากตัวแรกของสตริงข้อความ ใช้สำหรับดึงชื่อสกุล รหัสประเภท และส่วนแรกของข้อมูล