Difference between revisions of "Sc"

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

Revision as of 15:20, 28 August 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 ' '.