Template:Lcfirstletter/doc
Appearance
| This is a documentation subpage for Template:Lcfirstletter. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
| This template should always be substituted – use {{subst:Lcfirstletter}}. Any accidental transclusions will be automatically substituted by a bot. |
Usage
[edit]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
[edit]{{subst:lcfirstletter|Test}} → test
{{subst:lcfirstletter|(Test)}} → (test)
{{subst:lcfirstletter|6Th century}} → 6th century
- (compare to
{{lcfirst:6Th century}}→ 6Th century)
See also
[edit]- {{ucfirstletter}}, converts first ASCII letter to uppercase