Template:Str letter/trim
File:Lua-logo-nolabel.svg|30px|alt=Lua logo|link=Wikipedia:Lua | Uses Lua:
|
This is the {{Str letter/trim}} template.
It takes a string as parameter, and returns the string trimmed to the beginning letters.
Examples
{{str letter/trim}}
→{{str letter/trim|12345}}
→{{str letter/trim|abcdef?}}
→ abcdef{{str letter/trim|abc def}}
→ abc{{str letter/trim|ABcD123}}
→ ABcD{{str letter/trim|abc, def}}
→ abc{{str letter/trim|abc(def)}}
→ abc{{str letter/trim|ÁbČĐÈęFğ}}
→ ÁbČĐÈęFğ{{str letter/trim|abcdefghijklmnopqrst}}
→ abcdefghijklmnopqrst{{str letter/trim|abcdefghijklmnopqrstuvwxyz}}
→ abcdefghijklmnopqrstuvwxyz{{str letter/trim| abcdefghijklmnopqrstuvwxyz}}
→ abcdefghijklmnopqrstuvwxyz{{str letter/trim|NR<ref>a reference</ref>}}
→ NR
See also
Script error: The function "navbox" does not exist.
References
- ↑ a reference
The above documentation is transcluded from Template:Str letter/trim/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |