/plugin/abc2/ |
H A D | syntax.php | 364 * @param string $needle 369 function _replace_first($haystack, $needle, $replace) { argument 370 $pos = strpos($haystack, $needle); 372 $newstring = substr_replace($haystack, $replace, $pos, strlen($needle));
|
/plugin/aceeditor/ |
H A D | build.js | 1 …needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.…
|
/plugin/aichat/vendor/erusev/parsedown/ |
H A D | Parsedown.php | 1642 protected static function striAtStart($string, $needle) argument 1644 $len = strlen($needle); 1652 return strtolower(substr($string, 0, $len)) === strtolower($needle);
|
/plugin/badbehaviour/bad-behavior/ |
H A D | functions.inc.php | 7 function stripos($haystack,$needle,$offset = 0) { argument 8 return(strpos(strtolower($haystack),strtolower($needle),$offset));
|
/plugin/bible/bible_douayRheims/ |
H A D | Luke.txt | 820 …18:25. For it is easier for a camel to pass through the eye of a needle than for a rich man to ent…
|
H A D | Mark.txt | 397 …10:25. It is easier for a camel to pass through the eye of a needle than for a rich man to enter i…
|
H A D | Matthew.txt | 641 …19:24. And again I say to you: It is easier for a camel to pass through the eye of a needle, than …
|
/plugin/button/ |
H A D | syntax.php | 70 function str_contains(string $haystack, string $needle): bool 72 return '' === $needle || false !== strpos($haystack, $needle); 58 str_contains(string $haystack, string $needle) global() argument
|
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/ |
H A D | utf8.php | 539 * @param string $needle 543 function utf8_strpos($haystack, $needle, $offset=0){ argument 548 $pos = strpos($haystack, $needle, $offset + $comp);
|
/plugin/combo/ComboStrap/ |
H A D | StringUtility.php | 46 * @param $needle 50 public static function contain($needle, $haystack) argument 52 $pos = strpos($haystack, $needle); 234 public static function lastIndexOf($haystack, $needle) argument 240 return strrpos($haystack, $needle);
|
/plugin/combo/vendor/symfony/polyfill-mbstring/ |
H A D | Mbstring.php | 494 public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) argument 498 return strpos($haystack, $needle, $offset); 501 $needle = (string) $needle; 502 if ('' === $needle) { 512 return \iconv_strpos($haystack, $needle, $offset, $encoding); 515 public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) argument 519 return strrpos($haystack, $needle, $offset); 526 if (0 > $offset += self::mb_strlen($needle)) { 535 $pos = '' !== $needle || 8000 638 mb_stripos($haystack, $needle, $offset = 0, $encoding = null) global() argument 646 mb_stristr($haystack, $needle, $part = false, $encoding = null) global() argument 653 mb_strrchr($haystack, $needle, $part = false, $encoding = null) global() argument 666 mb_strrichr($haystack, $needle, $part = false, $encoding = null) global() argument 674 mb_strripos($haystack, $needle, $offset = 0, $encoding = null) global() argument 682 mb_strstr($haystack, $needle, $part = false, $encoding = null) global() argument 747 mb_substr_count($haystack, $needle, $encoding = null) global() argument [all...] |
H A D | bootstrap.php | 64 function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); } argument 79 function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding); } argument 82 function mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding); } argument 85 function mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding); } argument 88 function mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_strrichr($haystack, $needle, argument 91 mb_strripos($haystack, $needle, $offset = 0, $encoding = null) global() argument 94 mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) global() argument 97 mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) global() argument 109 mb_substr_count($haystack, $needle, $encoding = null) global() argument [all...] |
H A D | bootstrap80.php | 60 function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); } argument 75 function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); } argument 78 function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } argument 81 function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } argument 84 function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (boo argument 87 mb_strripos(string $haystack, string $needle, int $offset = 0, string $encoding = null) global() argument 90 mb_strrpos(string $haystack, string $needle, int $offset = 0, string $encoding = null) global() argument 93 mb_strstr(string $haystack, string $needle, bool $before_needle = false, string $encoding = null) global() argument 105 mb_substr_count(string $haystack, string $needle, string $encoding = null) global() argument [all...] |
/plugin/combo/vendor/symfony/polyfill-php80/ |
H A D | Php80.php | 91 public static function str_contains(string $haystack, string $needle): bool argument 93 return '' === $needle || false !== strpos($haystack, $needle); 96 public static function str_starts_with(string $haystack, string $needle): bool argument 98 return 0 === strncmp($haystack, $needle, \strlen($needle)); 101 public static function str_ends_with(string $haystack, string $needle): bool argument 103 if ('' === $needle || $needle === $haystack) { 111 $needleLength = \strlen($needle); [all...] |
H A D | bootstrap.php | 29 function str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($haystack ?? '', $needle ?? ''); } argument 32 function str_starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_with($haystack ?? '', $needle ?? ''); } argument 35 function str_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($haystack ?? '', $needle ?? ''); } argument
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/ |
H A D | StringUtil.php | 22 * @param string $needle 27 static function textMatch($haystack, $needle, $collation, $matchType = 'contains') { argument 35 $needle = str_replace(range('a', 'z'), range('A', 'Z'), $needle); 44 $needle = mb_strtoupper($needle, 'UTF-8'); 55 return strpos($haystack, $needle) !== false; 57 return $haystack === $needle; 59 return strpos($haystack, $needle) === 0; 61 return strrpos($haystack, $needle) === strlen($haystack) - strlen($needle);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/ |
H A D | StringUtilTest.php | 10 function testTextMatch($haystack, $needle, $collation, $matchType, $result) { argument 12 … $this->assertEquals($result, StringUtil::textMatch($haystack, $needle, $collation, $matchType));
|
/plugin/dirtylittlehelper/mermaid/editor/docs/ |
H A D | 2.2.js | 35921 function startsWith(haystack, needle) { argument 35922 if (haystack.length < needle.length) { 35925 for (var i = 0; i < needle.length; i++) { 35926 if (haystack[i] !== needle[i]) { 35935 function endsWith(haystack, needle) { argument 35936 var diff = haystack.length - needle.length; 35938 return haystack.lastIndexOf(needle) === diff; 35941 return haystack === needle;
|
H A D | 2.2.js.map | 1 …needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var …
|
H A D | 3.3.js.map | 1 …needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var …
|
H A D | 4.4.js.map | 1 …needle) {\n if (haystack.length < needle.length) {\n return false;\n }\n for (var …
|
H A D | bundle.js.map | 1 …needle from the beginning and end of haystack.\n * @param haystack string to trim\n * @param needl…
|
H A D | editor.worker.js.map | 1 …needle from the beginning and end of haystack.\n * @param haystack string to trim\n * @param needl…
|
H A D | json.worker.js.map | 1 …needle from the beginning and end of haystack.\n * @param haystack string to trim\n * @param needl…
|
/plugin/evesso/ |
H A D | action.php | 262 private function startsWith($haystack, $needle) { argument 263 $length = strlen($needle); 264 return (substr($haystack, 0, $length) === $needle); 267 private function replaceFirst($haystack, $needle, $replace = '') { argument 268 $pos = strpos($haystack, $needle); 270 $haystack = substr_replace($haystack, $replace, $pos, strlen($needle));
|