Détail du package

@sovpro/split-randomly

sovpro5MIT1.0.2

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

split, string, random, substring

readme

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)