Node.js examples for String:String End
Match String end
String.prototype.endsWith = function(str) { return this.length >= str.length && this.substr(this.length - str.length) == str; }