Skip to content

Feature: countWords #110

Description

@vorillaz

Returns the number of words contained in the input text.

  countWords(); // => 0
  countWords(''); // => 0
  countWords('     ') // => 0
  countWords('Hello   World') // => 2
  countWords('Hello   World    !!') // => 2

Aliases

import countWords from '@plexis/count-words';
import {countWords} from 'plexis';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions