예제 #1
0
 public function testSfTrim_途中と文末にホワイトスペースがある場合_文末だけが除去できる()
 {
     $this->expected = 'あ い うえ' . chr(0xd) . 'お';
     // 0x0A=CR, 0x0d=LF
     $this->actual = SC_Utils::sfTrim('あ い うえ' . chr(0xd) . 'お  ' . chr(0xa) . chr(0xd));
     $this->verify('トリム結果');
 }