I request to improve between It should get all the values between `left` and `right` and return an Array of them `null` incase there was no any values ```js /*S.prototype.between*/ function(qu1 = '"', qu2 = qu1) { var toReturn = [], f = false, str = this.s || this; for (var i = 0; i < str.length; i++) { if (str.indexOf(qu1) > -1 && !f) { f = true; str = str.slice(str.indexOf(qu1) + qu1.length); }; if (str.indexOf(qu2) > -1 && f) { var value = str.substring(0, str.indexOf(qu2)) str = str.slice(str.indexOf(qu2) + qu2.length); toReturn.push(value); f = false; } }; return toReturn.length ? toReturn : null; } ``` Tested and works correctly ```js "`Hello``World`".between("`"); //["Hello", "World"] ``` Please add it, Thankyou!
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by LeeeRoux and has received 0 comments.