ichigyou
    Preparing search index...

    Function countWords

    • Counts the number of words in a string.

      Parameters

      • str: string

        The string to count words in.

      Returns number

      The number of words in the string.