@sovpro/split-randomly

1.0.2 • Public • Published

Split Randomly

Split a string randomly into a given or random count of substrings.

Build status for Node.js 4.x and newer

Split randomly into a given count of substrings

var hello_str = 'Hello, World!'
var substring_count = 5
var substrings = splitRandomly (hello_string, substring_count)

Split randomly into a random count of substrings

var hello_str = 'Hello, World!'
var substrings = splitRandomly (hello_string)

Dependents (0)

Package Sidebar

Install

npm i @sovpro/split-randomly

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

4.44 kB

Total Files

4

Last publish

Collaborators

  • sovpro