Template:Str letter/trim

From Hârn
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

{{Str letter/trim}} returns a string trimmed to its "beginning 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}} → 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[edit source]

  1. A reference for test purposes.

External links[edit source]