hsCountInStr: Count Pattern in String

View source: R/string.R

hsCountInStrR Documentation

Count Pattern in String

Description

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


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.