left() Function

Returns a specified number of characters from the text, starting from the first character.

Syntax

left ( text, [num_chars] )

text: (Text) The text from which the substring will be taken.

num_chars: (Number) The length in characters of the subtext to extract.

Returns

Text

Examples

left("boston",3) returns bos

Open in Github Built: Fri, Jun 24, 2022 (02:11:19 PM)

On This Page

FEEDBACK