Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Right

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

Description‌

The Right function returns the last count characters of the string.

Syntax

‌The syntax for the Right function is:

Right(input, count)

‌Parameters

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

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

‌Returns

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

Example‌

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

Right("hello world", 2)
Result: ld

Right("hello world", 7)
Result: o world

Last updated

Was this helpful?