Skip to main content
Version: v0.17.0

StringSubstring

Alias:StringSubstring, GetSubstring

Output:StringStream

Gets a substring from a string.

ParameterTypeRequiredPositionDefault ValueSummary
String
From
string1The string to extract a substring from.
Lengthint2The length of the substring to extract.
Indexint30The index.

Examples

Example 1

SCL

StringSubstring 'hello world!' Index: 6 Length: 5

Expected Output

world

Example 2

SCL

GetSubstring From: 'hello world!' Length: 5

Expected Output

hello