Kaba function string.head ed

Selects characters from the beginning of a string.

Syntax ed

func pure string.head(size: i32) -> string

Parameters ed

size: i32
How many characters to select from the beginning?
A negative number -N selects until N characters before the end.

Return ed

The selected head.