Exemple #1
0
 public function test_split_not_containing_delimiter()
 {
     $this->assertSame('herp derp', Str::split("herp derp", ",")->first());
     $this->assertSame("herp derp", Str::splitFirst("herp derp", ","));
     $this->assertSame("herp derp", Str::splitLast("herp derp", ","));
 }