public function testPad() { $this->eq(s::pad('x', 5), ' x '); $this->eq(s::pad('x', 9, 'yy'), 'yyyyxyyyy'); }
public function pad($n, $pad = ' ') { return new self(s::pad($this->value, $n, self::unwrap($pad))); }