Template:Sif

From 'City of Adelaide' History and Genealogy Site
Revision as of 02:19, 18 December 2013 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template can extract the substring " " (space) from a string. i.e. it can tell if a parameter contains the space character.

It doesn't actually recognize spaces, but will return the "then" value if the first parameter contains anything besides alphanumerical characters or any of "_;:@$!*(),/". So in particular, dashes, percent signs, umlauts or any letters outside A-Za-z will trigger the "space recognition" logic.




{{#invoke:Message box|ombox}}