
The function block CHUNK_SPLIT splits a string into parts of equal length.
Note: This function is Binary-Safe. This means that UTF8 characters cannot be processed directly.
Can be used to split a string into smaller pieces. This is helpful, for example, when converting BASE64 outputs that must comply with RFC 2045.
The input defines the string to be split.
The input defines the length as an integer for the maximum chunk length.
Defines the line ending as a string which is inserted after each chunk. For example, "\n\r".
The output returns the split string.