Left

Left(String a, Number b)

This function returns a substring that contains the specified number of characters from the left side of a string.

Parameters

Return value

The return value is a String.

Example

The return value of the following statement is he is.

Left("he is my father", 5)