Skip to content

Node catalog: nodes-strings ​

12 nodes. Generated by scripts/gen-node-catalog.mjs from packages/nodes-strings/src/install.ts.

Slot types such as number, string and boolean are regular data ports, while event marks an action port. Widgets are interactive controls drawn inside a node; properties are serialized with the graph.

string/compare — Compare ​

Compares strings

string/concatenate — Concatenate ​

Concatenates strings

string/contains — Contains ​

Calls a.indexOf(b)

string/json_parse — JSON Parse ​

Parses a string into a JavaScript object

  • Inputs: in: string
  • Outputs: out: *, error: string
  • Source: JSONParse.ts

string/json_stringify — JSON Stringify ​

Calls JSON.stringify() on the input value

  • Inputs: in: *
  • Outputs: out: string, error: string
  • Properties: space
  • Source: JSONStringify.ts

string/split — Split ​

Calls str.split(sep || " ")

  • Inputs: in: string,array, sep: string
  • Outputs: out: array
  • Properties: separator
  • Source: StringSplit.ts

string/template — Template ​

Substitutes an array of strings in a template like '$1, $2, $3'

  • Inputs: —: string,array, —: string, update: action
  • Outputs: out: string, changed: event
  • Widgets: Template: text
  • Properties: template, stringQuote, outputJSON
  • Source: StringTemplate.ts

string/toFixed — ToFixed ​

Calls in.toFixed()

  • Inputs: in: number
  • Outputs: out: string
  • Properties: precision
  • Source: StringToFixed.ts

string/toLowerCase — ToLowerCase ​

Converts to lower case

string/toString — ToString ​

Calls .toString()

string/toTable — ToTable ​

Splits a string to table

  • Inputs: in: number
  • Outputs: table: table, rows: number
  • Properties: value, separator
  • Source: StringToTable.ts

string/toUpperCase — ToUpperCase ​

Converts to upper case

Released under the MIT License.