Difference between revisions of "Sc"

m (separator parameter)
m (delimiter)
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|&nbsp;|@|{{ucfirst:@}}}}<!-- print array with initial letters capitalised
+
-->{{#arrayprint:words|{{{2|&nbsp;}}}|@|{{ucfirst:@}}}}<!-- print array with initial letters capitalised
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Revision as of 22:00, 4 September 2023

Description

Converts the input string into start case.

Usage

{{Sc|<input>}}

Parameters

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