แม่แบบ:Str sub old

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Usage[แก้]

{{str sub long|text|start|length}} = Substring of text starting at start and containing length characters. Base 0: the first character is numbered 0, and so on, e.g. {{str sub long|20090624130510|8|2}} returns the 2 characters starting at the 9th, i.e. "13"

Only operates on a limited character set.

Template data[แก้]

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Str sub old (ยังไม่มีการตรวจสอบ)

The template takes a substring of ''text'' starting at ''start'' and containing ''length''characters.

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

พารามิเตอร์คำอธิบายชนิดสถานะ
Text1

The substring to be trimmed.

สตริงจำเป็น
Numeric position2

Numeric position of the starting character within the string

จำนวนจำเป็น
Count3

Number of characters for the substring

จำนวนจำเป็น

ดูเพิ่ม[แก้]