Template:Lcfirstletter
This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template should always be substituted (i.e., use {{subst:Lcfirstletter}}). Any accidental transclusions will be automatically substituted by a bot. |
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)
{{lcfirstletter|6Th century}}
→ 6th century
- (compare to
{{ucfirst:6Th century}}
→ 6Th century)
See also
- {{ucfirstletter}}, converts first ASCII letter to uppercase