Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

chunk_split body [chunk_len = 76] [end_string = "\r\n"]


Alias

None


Description

Split a string into smaller chunks.


Parameters

body

The string to be chunked.

chunk_len

Optional Parameter: The chunk length.

end_string

Optional Parameter: The line ending sequence.


Return Value

String: The chunked string or NULL on failure. Use libcox_value_to_string() to extract the processing result.