• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Lcfirstletter

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:String
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)

See also

  • {{ucfirstletter}}, converts first ASCII letter to uppercase
The above documentation is transcluded from Template:Lcfirstletter/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Lcfirstletter&oldid=22712"
Categories:
  • Templates based on the String Lua module
  • Wikipedia templates to be automatically substituted
  • Wikipedia substituted templates
  • String manipulation templates
Last edited on 8 February 2022, at 11:12

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 8 February 2022, at 11:12.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop