Skip to main content
Version: v0.16.0

StringSubstring

Alias:StringSubstring, GetSubstring

Output:StringStream

Gets a substring from a string.

ParameterTypeRequiredPositionDefault ValueSummary
String
From
string✔1The string to extract a substring from.
Lengthint✔2The 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