ทำซ้ำข้อความตามจำนวนครั้งที่ระบุ
=Text.Repeat(text as nullable text, count as number) as nullable text
=Text.Repeat(text as nullable text, count as number) as nullable text
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
| text | text | Yes | ข้อความที่ต้องการทำซ้ำ | |
| count | number | Yes | จำนวนครั้ง |
Text.Repeat("Ho", 3)=Text.Repeat("Ho", 3)
"HoHoHo"
ฟังก์ชัน Text.Repeat ใน Power Query ใช้สำหรับทำซ้ำข้อความตามจำนวนครั้งที่ระบุ