Template:Str left/testcases


  • {{Str left|Lorem ipsum dolor sit amet | 10 }} → Lorem ipsu
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | 10 }} → Lorem ipsu
  • {{Str left|Lorem ipsum dolor sit amet | 1 }} → L
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | 1 }} → L
  • {{Str left|Lorem ipsum dolor sit amet | 0 }}
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | 0 }}
  • {{Str left|Lorem ipsum dolor sit amet | }}
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | }}
  • {{Str left|Lorem ipsum dolor sit amet }} → L
  • {{Str left/sandbox|Lorem ipsum dolor sit amet }} → L
  • {{Str left|Lorem ipsum dolor sit amet | foo }}
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | foo }}
  • {{Str left|Lorem ipsum dolor sit amet | 40 }} → Lorem ipsum dolor sit ametLorem ipsum do
  • {{Str left/sandbox|Lorem ipsum dolor sit amet | 40 }} → Lorem ipsum dolor sit ametLorem ipsum do
  • {{Str left| àçé | 2 }} → àç
  • {{Str left/sandbox| àçé | 2 }} → àç
  • {{Str left|2=2}} → {{
  • {{Str left/sandbox|2=2}} → {{