Return the vector of all positions in the longer of the two strings s and t where an occurrence of the shorter of the two starts. If the optional argument overlap is nonzero, the returned vector can include overlapping positions (this is the default). For example,
findstr ("ababab", "a") [ 1, 3, 5 ] findstr ("abababa", "aba", 0) [ 1, 5 ]