Str.strstrLen

Searches the string haystack for the first occurrence of the string needle, limiting the length of the search to haystack_len.

class Str
static
string
strstrLen
(
string haystack
,
string needle
)

Parameters

haystack string

a string

needle string

the string to search for

Return Value

Type: string

a pointer to the found occurrence, or NULL if not found.

Meta