Template:StripLastWord

From RadiWiki
Revision as of 19:46, 13 February 2020 by Joro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Strips the last word of the passed content. Using functions from the StringFunctions extension. Can a space be found? Then return everything before the last space. Can't a space be found. Then return nothing.