求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

Template:Remove first word/doc

增加 965 位元組, 7 年前
high use
{{high-use|23817}}
{{Documentation subpage}}
{{Lua|Module:String}}
<!----LEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
===Usage===
Removes first word of the first parameter. Words are delimited by spaces only. Any of the characters included in {{tl|str index/getchar}} can be included in the string.

===Examples===
* {{tlx|remove first word|Fôo bår bàz}}" → "{{remove first word|Fôo bår bàz}}".
* {{tlx|remove first word| Fôo bår bàz }}" → "{{remove first word| Fôo bår bàz }}".
* {{tlx|remove first word| a b }}" → "{{remove first word| a b }}".
* {{tlx|remove first word|Fôo-bår}}" → "{{remove first word|Fôo-bår}}".
* {{tlx|remove first word|Fôo-bår bàz}}" → "{{remove first word|Fôo-bår bàz}}".

===See also===
{{String-handling templates |trim}}

<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!----CATEGORIES BELOW THIS LINE, PLEASE:---->
[[Category:String manipulation templates]]
}}
</includeonly>