ReferenceScript nodesUtilities › Text
Get Substring
Length letters from Start Index (0 is the first), as many of them as the text has.
ƒGet Substring
Source TextHelloResult
Start Index0
Length1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Source Texttext | text | "Hello" | – |
Start Indexstart | int | 0 | – |
Lengthlength | int | 1 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | text |
In a graph
◆On Scene Start
ƒGet Substring
Source TextHelloResult
Start Index0
Length1
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.