Skip to contents

Count occurrences of chr in str

Usage

hsCountInStr(chr, str)

Arguments

chr

character string (or pattern) to be looked for and counted in str

str

character string in which to count for chr

Value

number of occurrences of char in str