StringArray

Read with AI
All docs in one file (llms-full.txt)
StringArray #Variable #Node
StringArray

Holds a variable-length list of strings and outputs the element at Index to Value. You edit the contents of the list on the node (+ Add to add, the field on each row to edit, - to delete). You can use it to stash a bank of media paths or URLs and step through them.

  • A newly created node contains two empty strings
  • Index wraps by modulo (Index % element count; a negative Index wraps around to the end)
  • The header on the node shows the selected number [n]

When the list is empty, an empty string is sent explicitly so that no stale value is left downstream.

Input ports

Port IDType
Indexint

Output ports

Port IDType
Valuestring

Scriptable members

PathType
indexInputint

Synapse Apps (scripting)

await synapse.modules.create({ type: "StringArray" })

Pages linking here