الگو:Lcfirstletter: تفاوت میان نسخهها
fa>Swpb جز (Swpb moved page Template:Lcfirst to Template:Lcfirstletter: Avoiding confusion with lcfirst magic word) |
Wikinoor.ir (بحث | مشارکتها) جز (۱ نسخه واردشده) |
(بدون تفاوت)
|
نسخهٔ کنونی تا ۳ ژانویهٔ ۲۰۲۳، ساعت ۲۳:۱۴
پرونده:Lua-Logo.svg | 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)
See also
- {{ucfirstletter}}, converts first ASCII letter to uppercase