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