Template:Remove first word: Difference between revisions

m
21 revisions imported
(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))
m (21 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>
 
{{Documentation}}
 
</noinclude>