%PDF- %PDF-
Direktori : /home/opti/workflow/node_modules/underscore.string/ |
Current File : /home/opti/workflow/node_modules/underscore.string/count.js |
var makeString = require('./helper/makeString'); module.exports = function(str, substr) { str = makeString(str); substr = makeString(substr); if (str.length === 0 || substr.length === 0) return 0; return str.split(substr).length - 1; };