Sha256: 3f29b01b68ba04d6af6ce0966f60410a9ac02876fcb60e7faca8f1e665c34f5a
Contents?: true
Size: 263 Bytes
Versions: 19
Compression:
Stored size: 263 Bytes
Contents
var makeString = require('./helper/makeString'); module.exports = function strRightBack(str, sep) { str = makeString(str); sep = makeString(sep); var pos = !sep ? -1 : str.lastIndexOf(sep); return~ pos ? str.slice(pos + sep.length, str.length) : str; };
Version data entries
19 entries across 19 versions & 1 rubygems