Left

This Flow Script tutorial explains how to use the Left function with syntax and examples.

Description

The Left function returns the first count characters of the string.

Syntax

‌The syntax for the Left function is:

Left(input, count)

Parameters

‌input - the string from which the characters are returned.

count - the number of characters returned. Count cannot be negative.

Returns

‌The Left function returns a string. If input is empty, the Left function will return an empty string.‌

Example

Let's look at some Left function examples and explore how to use the Left function.‌

Left("hello world", 2)
Result: he

Left("hello world", 7)
Result: hello w

Last updated