Template:Lcfirstletter/doc

From Leftypedia
< Template:Lcfirstletter
Revision as of 17:50, 23 August 2023 by Harrystein (talk | contribs) (Created page with "{{Documentation subpage}} {{lua|Module:String}} {{Subst only|auto=no}} ==Usage== Converts the first ASCII letter character of a string to lowercase. This behavior is different from the magic word lcfirst, which affects the first character of a string regardless of whether it is a letter or not. ==Examples== {{demo inline|<nowiki>{{lcfirstletter|Test}}</nowiki>}} {{demo inline|<nowiki>{{lcfirstletter|(Test)}}</nowiki>}} ==See also== *{{tL|ucfirst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Converts the first ASCII letter character of a string to lowercase. This behavior is different from the magic word lcfirst, which affects the first character of a string regardless of whether it is a letter or not.

Examples

{{lcfirstletter|Test}} → test

{{lcfirstletter|(Test)}} → (test)

See also