summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/strings/strchr.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/strings/strchr.js')
-rw-r--r--node_modules/locutus/php/strings/strchr.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/locutus/php/strings/strchr.js b/node_modules/locutus/php/strings/strchr.js
deleted file mode 100644
index 5ba1644..0000000
--- a/node_modules/locutus/php/strings/strchr.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-module.exports = function strchr(haystack, needle, bool) {
- // discuss at: http://locutus.io/php/strchr/
- // original by: Philip Peterson
- // example 1: strchr('Kevin van Zonneveld', 'van')
- // returns 1: 'van Zonneveld'
- // example 2: strchr('Kevin van Zonneveld', 'van', true)
- // returns 2: 'Kevin '
-
- var strstr = require('../strings/strstr');
- return strstr(haystack, needle, bool);
-};
-//# sourceMappingURL=strchr.js.map \ No newline at end of file