Description Usage Arguments Value Author(s) Examples
View source: R/count_char_occurrences.R
Count the number of occurrences of a character in a string.
1 | count_char_occurrences(char, strng_x)
|
char |
Character to search for. |
strng_x |
String that is searched |
An integer value.
John Quensen
1 2 | my.strng <- "abcdefabcaa"
count_char_occurrences("a", strng_x=my.strng)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.