src/php/Webforge/Common/StringUtil.php
public static function endsWith($string, $suffix) {
    return (mb_strrpos($string,$suffix) === mb_strlen($string) - mb_strlen($suffix));
  }
public static function endsWith($string, $suffix) {
    return (mb_strrpos($string,$suffix) === mb_strlen($string) - mb_strlen($suffix));
  }
public static function endsWith ( $ string , $ suffix ) { return ( mb_strrpos ( $ string , $ suffix ) === mb_strlen ( $ string ) - mb_strlen ( $ suffix ) ) ; }
Does string end with suffix?

@param string $string
@param string $suffix
Does string end with suffix?