match_count return the number of matches of the target string in the given sequence

match_count(target, search_from)

Arguments

target

the search target

search_from

the sequence to search from

Value

number of matches