Signature: take(s: string, n: int) -> string

Description: Returns at most the first n bytes of s. Clamps; never fails.

Parameters

Returns: string

Example

take("hello", 3)  // "hel"