Template:Remove first word: Difference between revisions
Jump to navigation
Jump to search
use LUA String |
allow any separator, as in the {{First word}} template (This is my first time editing any Lua template, though I'm experienced at editing templates in general, so please revert/let me know on my talk page if I screwed anything up) |
||
| Line 1: | Line 1: | ||
{{#invoke:String|replace|source={{{1}}}|pattern=^[^%s]*%s*|replace=|plain=false}}<noinclude> | {{#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 03:46, 23 March 2014
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| View • Edit • History |
- This template is not yet documented. Please create documentation here: Template:Remove first word/doc