Template:Lcfirstletter/doc
Jump to navigation
Jump to search
File:Edit-copy green.svg | This is a documentation subpage for Template:Lcfirstletter. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
This template should always be substituted (i.e., use {{subst:Lcfirstletter}}). |
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
- Template:TL, converts first ASCII letter to uppercase