Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 3 of 3) sorted by relevance

/vim-8.2.3635/src/
H A Dstrings.c1063 char_u *haystack; in f_stridx() local
1077 if (needle == NULL || haystack == NULL) in f_stridx()
1085 if (error || start_idx >= (int)STRLEN(haystack)) in f_stridx()
1088 haystack += start_idx; in f_stridx()
1374 char_u *haystack; in f_strridx() local
1386 haystack = tv_get_string_buf_chk(&argvars[0], buf); in f_strridx()
1389 if (needle == NULL || haystack == NULL) in f_strridx()
1392 haystack_len = (int)STRLEN(haystack); in f_strridx()
1406 lastmatch = haystack + end_idx; in f_strridx()
1410 for (rest = haystack; *rest != '\0'; ++rest) in f_strridx()
[all …]
/vim-8.2.3635/runtime/autoload/
H A Dphpcomplete.vim2775haystack, string $needle [, int $offset = 0] | int','stripslashes(':'string $str | string','strist…
2777haystack [, bool $strict = false] | mixed','array_shift(':'array &$array | mixed','array_slice(':'…
2800 …ing $haystack, string $needle [, int $offset = 0 [, string $charset = ini_get("iconv.internal_enco…
2803haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int',…
/vim-8.2.3635/runtime/doc/
H A Deval.txt3027 stridx({haystack}, {needle} [, {start}])
3028 Number index of {needle} in {haystack}
3036 strridx({haystack}, {needle} [, {start}])
3037 Number last index of {needle} in {haystack}
7771 :let idx = match(haystack, '\cneedle')
10899 stridx({haystack}, {needle} [, {start}]) *stridx()*
10901 {haystack} of the first occurrence of the String {needle}.
10908 -1 is returned if the {needle} does not occur in {haystack}.
11012 strridx({haystack}, {needle} [, {start}]) *strridx()*
11014 {haystack} of the last occurrence of the String {needle}.
[all …]