iterator.split

Converts a string to an array with $length number of bytes per new array element. Wrapper for PHP's str_split.

Arguments

subject

DataType

string

Required

false

Description

The string that will be split into an array

length

DataType

integer

Default

1

Required

false

Description

Number of bytes per chunk in the new array

as

DataType

string

Required

false

Description

Template variable name to assign; if not specified the ViewHelper returns the variable instead.