Template:Str letter/trim

From Kerbal Space Program Wiki
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Str letter/trim

{{Str letter/trim}} returns a string trimmed to its "beginning letters".

Examples

  • {{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ğ}}
  • {{str letter/trim |abcdefghijklmnopqrst}} → abcdefghijklmnop
  • {{str letter/trim |abcdefghijklmnopqrstuvwxyz}} → abcdefghijklmnop
  • {{str letter/trim | abcdefghijklmnopqrstuvwxyz}} → abcdefghijklmnop
  • {{str letter/trim |NR<ref>A reference for test purposes.</ref>}} → NRNRNRNRNRNRNRNR

See also

  1. A reference for test purposes.