Global.String.prototype.endsWith (str)
function returns true if the string ends with the string passed as argument

  • Parameter String:
    string pattern to search for
  • Returns
    Boolean true in case it matches the end of the string, false otherwise
Sourcecode in /home/hannes/helma/modules/core/String.js:
479:   String.prototype.endsWith = function(str) {
480:       var javaObj = new java.lang.String(this);
481:       return javaObj.endsWith(str);
482:   }