Package

ViewHelpers

ViewHelper Documentation

v: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 string

The string that will be split into an array

length integer

Number of bytes per chunk in the new array

as string

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

ViewHelper Resources

Schema Resources