Search

Slice (Dep.)

Last Updated: Feb 14, 2022

Articles

This function is deprecated. Please use Substring

Use this function to slice the input string.

Syntax

Slice (Dep.) (input, start_index, end_index)

Parameters

Input Parameter Name Description
input input string
start_index starting index of a string
end_index end index of a string

Index starts with 0.

Returns

Return value Description
text Returns the sliced string

Sample

Slice (Dep.) (abcdefgh, 1, 3)

  • Slices the string abcdefgh at positions 1 and 3.
    Returns bc.

To view all the Text functions, click here.

Did you find what you were looking for?