Beispiel #1
0
 public function testPadRight()
 {
     $str = new MString('一二三四五');
     $str2 = $str->padRight(5, new MString('a'));
     $this->assertEquals('一二三四五aaaaa', \strval($str2));
 }