Split the string by the specified number of characters and returns it as an array of strings.
| str |
character string to be split. |
| num |
number of characters per chunk. |
|
array of split strings. |