Predefined function reference

string_find_occurrences

A reference entry for string_find_occurrences

Predefined function · string

string_find_occurrences (string haystack, string needle) ⇒ list

Returns a list of integers which represent the position at which each needle appears within the haystack string.

Alternative function names: str_find

Notes

Version 1.5.0.1 dropped the alternative name str_find_occ and added the str_find alernative name.