Template:Str letter/trim
Appearance
This is the {{Str letter/trim}} template.
It takes a string as parameter, and returns the string trimmed to the beginning letters. It is limited to 21 letters.
Examples
[edit source]{{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}}
→ abcdefghijklmnop{{str letter/trim|abcdefghijklmnopqrstuvwxyz}}
→ abcdefghijklmnop{{str letter/trim|NR<ref>a reference</ref>}}
→ NRNRNRNRNRNRNRNR
See also
[edit source]Description of all string templates
References
[edit source]- ↑ a reference