HED JavaScript Library
    Preparing search index...

    Function getCharacterCount

    • Get number of instances of an character in a string.

      Parameters

      • string: string

        The string to search.

      • characterToCount: string

        The character to search for.

      Returns number

      The number of instances of the character in the string.