Name

string:left

Usage

builtin-function

Syntax

(string:left str count)

Description

Returns the leftmost count characters of str.

user 1 > (.left "aap" 2)
it: "aa"
user 2 > (.left "aap" 22)
it: "aap"