Function: tramp-compat-string-search

tramp-compat-string-search is a function alias for string-search, defined in fns.c.

Signature

(tramp-compat-string-search NEEDLE HAYSTACK &optional START-POS)

Documentation

Search for the string NEEDLE in the string HAYSTACK.

The return value is the position of the first occurrence of NEEDLE in HAYSTACK, or nil if no match was found.

The optional START-POS argument says where to start searching in HAYSTACK and defaults to zero (start at the beginning). It must be between zero and the length of HAYSTACK, inclusive.

Case is always significant and text properties are ignored.

Aliases

tramp-compat-string-search