Template:Str letter/trim

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Str letter/trim/doc.

This is the {{Str letter/trim}} template.

It takes a string as parameter, and returns the string trimmed to the beginning letters.

Examples

[edit]
  • {{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</ref>}} → NR

See also

[edit]

Template:Navbox string handling templates

References

[edit]
  1. a reference