예제 #1
0
 public function testCanSliceToAString()
 {
     $string = Str::sliceTo('abcdef', 'c');
     return $this->assertEquals('ab', $string);
 }