Partitioning functions
Reference documentation for Expressif functions in the text/partitioning scope.
| Name | Overview |
|---|---|
split-lengths | Splits text into consecutive nonempty segments of the requested lengths, preserving any remaining text as a final segment. Returns an empty array for null or empty input and null for invalid lengths. |
split-while | Splits text into consecutive nonempty segments while an operation over the current segment and next character returns true. Preserves every character. Returns an empty array for null or empty input and null for a non-Boolean operation result. |