Awee

lines

Lines splits a string or byte slice into an array of lines.

Lines splits a string or byte slice into an array of lines.

Input

string bytes

Parameters

None

Returns

array

Examples

{{ content | lines }}
{{ content | lines | first }}

How is this guide?

On this page