Search

Substring

Last Updated: Dec 10, 2020

Articles

Use this function to get a new string that is a substring of the input string . The substring begins at the given start index and extends till the end index without including the end index.

Syntax

Substring (end_index)

Parameters

Input Parameter Name Description
end_index End index
start_index Start index
input input string

Returns

Return value Description
text Returns the substring

Sample

  1. Substring (2, 3, JIFFY) = IF
  2. Substring (0, 5, JIFFY) = JIFFY

To view all the Text functions, click here.

Did you find what you were looking for?