Moduldiskusjon:String2/testtilfeller

Sideinnholdet støttes ikke på andre språk.
Fra Wikipedia, den frie encyklopedi

All tests passed.

test_matchAny
Test Live Sandbox Expected
Y {{#invoke:String2|ucfirst|*test}}
  • Test
  • Test
  • Test
Y {{#invoke:String2|ucfirst|[[test]]}} Test Test Test
Y {{#invoke:String2|ucfirst|[[test|pipetest]]}} Pipetest Pipetest Pipetest
Y {{#invoke:String2|ucfirst|32nd}} 32nd 32nd 32nd
Y {{#invoke:String2|ucfirst|3 ×}} 3 × 3 × 3 ×
Y {{#invoke:String2|ucfirst|<li>test</li>}}
  • Test
  • Test
  • Test
  • Y {{#invoke:String2|ucfirst|1900 &ndash; 2000}} 1900 – 2000 1900 – 2000 1900 – 2000
    Y {{#invoke:String2|matchAny|123|abc|source=adc 123}} 1 1 1
    Y {{#invoke:String2|matchAny|123|abc|source=adc 124}}
    Y {{#invoke:String2|matchAny|123|abc|source=abc 124}} 2 2 2