Predloga:Str letter/trim

Iz Wikipedije, proste enciklopedije
Skoči na: navigacija, iskanje
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

To je {{Str letter/trim}} predloga.

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

Primeri[uredi | uredi kodo]

  • {{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

Glej tudi[uredi | uredi kodo]

Predloga:Navbox string handling templates

Sklici[uredi | uredi kodo]

  1. ^ a reference