Example #1
0
 public function test_start_with__match()
 {
     $assertion = \UString::startWith('http://www.example.com', 'http://');
     $this->assertEquals('http://www.example.com', $assertion);
 }
Example #2
0
 public static function doStartWith(&$haystack, $needle)
 {
     $haystack = \UString::startWith($haystack, $needle);
 }