模板:Str rightc/testcases

測試 1

{{Str rightc|Lorem ipsum dolor sit amet |10}}
左右對比
{{Str rightc}}{{Str rightc/sandbox}}
r sit amet r sit amet

測試 2

{{Str rightc|Lorem ipsum dolor sit amet |1}}
左右對比
{{Str rightc}}{{Str rightc/sandbox}}
t t

測試 3

{{Str rightc|Lorem ipsum dolor sit amet |0}}
左右對比
{{Str rightc}}{{Str rightc/sandbox}}

測試 4

{{Str rightc| |1 |string is empty}}
左右對比
{{Str rightc}}{{Str rightc/sandbox}}
string is empty string is empty

測試 5

{{Str rightc|一二三四五六七|2}}
左右對比
{{Str rightc}}{{Str rightc/sandbox}}
六七 六七