Security update to Drupal 8.4.6
[yaffs-website] / node_modules / underscore.string / strRightBack.js
1 var makeString = require('./helper/makeString');
2
3 module.exports = function strRightBack(str, sep) {
4   str = makeString(str);
5   sep = makeString(sep);
6   var pos = !sep ? -1 : str.lastIndexOf(sep);
7   return~ pos ? str.slice(pos + sep.length, str.length) : str;
8 };