添加的内容 删除的内容
(separate pp-template not needed) |
sctools>Alistar Bot 小 (→top:Hygiene, replaced: {{Documentation}} → {{/doc}}) |
||
第1行: | 第1行: | ||
{{ |
{{#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{/doc}}</noinclude> |
2020年3月18日 (三) 04:33的版本
该说明文档嵌入自 Template:Remove first word/doc,可通过讨论页面进行更改请求。
Usage
Removes first word of the first parameter. Words are delimited by spaces only. Any of the characters included in {{str index/getchar}} can be included in the string.
Examples
{{remove first word|Fôo bår bàz}}
" → "bår bàz".{{remove first word|Fôo bår bàz}}
" → "bår bàz".{{remove first word|a b}}
" → "b".{{remove first word|Fôo-bår}}
" → "".{{remove first word|Fôo-bår bàz}}
" → "bàz".