Lines Matching refs:haystack
3027 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}.
11022 -1 is returned if the {needle} does not occur in {haystack}.
11023 If the {needle} is empty the length of {haystack} is returned.