Template:Str letter/trim

Gotšwa go Wikipedia
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template documentation

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}} → abcdefghijklmn
  • {{str letter/trim|abcdefghijklmnopqrstuvwxyz}} → abcdefghijklmn
  • {{str letter/trim|NR<ref>a reference</ref>}} → NRNRNRNRNRNRNR

See also[edit source]

Description of all string templates

References[edit source]

  1. a reference