Namespace stringToChunks
Defined in: naview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Helper function for creating an Array of substrings of length n from a string
|
Namespace Detail
stringToChunks
Helper function for creating an Array of substrings of length n from a string
- Parameters:
- {string} str
- string to generate substrings from
- {number} n
- length of desired substrings