Difference between revisions of "Sc"

m (delimiter)
m
 
Line 1: Line 1:
 
<includeonly>{{#arraydefine:words|{{lc:{{{1}}}}}|{{{2|/\s*[ ]\s*/}}}}}<!-- define array of strings separated by spaces
 
<includeonly>{{#arraydefine:words|{{lc:{{{1}}}}}|{{{2|/\s*[ ]\s*/}}}}}<!-- define array of strings separated by spaces
-->{{#arrayprint:words|{{{2|&nbsp;}}}|@|{{ucfirst:@}}}}<!-- print array with initial letters capitalised
+
-->{{#arrayprint:words|&nbsp;|@|{{ucfirst:@}}}}<!-- print array with initial letters capitalised
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Latest revision as of 22:01, 4 September 2023

Description[edit]

Converts the input string into start case.

Usage[edit]

{{Sc|<input>}}

Parameters[edit]

Arrow.png1: The input string.
Required.
Arrow.png2: The delimiter.
Optional. Defaults to ' '.