الگو:Str letter/trim/doc
< الگو:Str letter | trim
پرونده:Edit-copy green.svg | الگو:Strong for الگو:Terminate sentence It contains usage information, categories and other content that is not part of the original الگو page. |
پرونده:Lua-Logo.svg | This template uses Lua: |
{{Str letter/trim}} returns a string trimmed to its "beginning letters".
Examples
{{str letter/trim}}
→{{str letter/trim |12345}}
→{{str letter/trim |123abc}}
→{{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 |(def)}}
→{{str letter/trim |~def}}
→{{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 for test purposes.</ref>}}
→ NR
See also
- {{str number/trim}}