Head
Arguments
Explanation
Returns a substring of the given size, starting at the string's first index. Roughly equivilent to #slice(0, size)
Examples
Last updated
Returns a substring of the given size, starting at the string's first index. Roughly equivilent to #slice(0, size)
Last updated
type
returns
method
string
name
type
description
size
int
the amount of characters to grab