Template:Str letter/trim/doc
Jump to navigation
Jump to search
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
[edit]{{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
[edit]Template:Navbox string handling templates
References
[edit]- ↑ a reference