Motion
Get Motion

ReferenceScript nodesUtilities › Text

Trim

Without the spaces at the start (Trim Trailing takes them off the end).

Utilities › TextPure: no flow pinstrimText

Inputs

PinTypeStarts atNotes
Source Texttexttext" Hello "–

Outputs

PinType
Resultouttext

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(("  Hello  ".replace(/^\s+/, "")));

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.