Javascript String splitTakeLast(delimiter)
String.prototype.splitTakeLast = function(delimiter){ var arr = this.split(delimiter); return isDefined(arr) && arr.length > 0 ? arr[arr.length - 1] : this; }