Skip to main content

Substring

An expression editor function that extracts a portion of a string.

Updated yesterday

Overview

This function returns a selected range of characters within a given string.


Parameters

substring(string, fromIndex, toIndex)

String

The original string to extract from.

From Index

The starting position (inclusive).

To Index

The ending position (exclusive).


For example...

substring("Hello World", 0, 5)

Returns "Hello".

Did this answer your question?