Template:Str letter/trim
Jump to navigation
Jump to search
This documentation is transcluded from Template:Str letter/trim/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
{{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?}}
→{{str letter/trim |abc def}}
→{{str letter/trim |ABcD123}}
→{{str letter/trim |abc, def}}
→{{str letter/trim |abc(def)}}
→{{str letter/trim |(def)}}
→{{str letter/trim |~def}}
→{{str letter/trim |ÁbČĐÈęFğ}}
→{{str letter/trim |abcdefghijklmnopqrst}}
→{{str letter/trim |abcdefghijklmnopqrstuvwxyz}}
→{{str letter/trim | abcdefghijklmnopqrstuvwxyz}}
→{{str letter/trim |NR<ref>A reference for test purposes.</ref>}}
→
See also
- {{str number/trim}}