public function test_end_with__match() { $assertion = \UString::endWith('http://www.example.com/', '/'); $this->assertEquals('http://www.example.com/', $assertion); }
public static function doEndWith(&$haystack, $needle) { $haystack = \UString::endWith($haystack, $needle); }