beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ArrayGetStringByPath Op

ArrayGetStringByPath

Finds a string at a position in an array defined by path


useful when working with nested data structures.

the path defines the way to the string. the string will be returned

given an array like this:

[ "alyx","gordon","eli","g-man"]

a path of 2 will return eli:


Edit Documentation

Full Name
  • Ops.Json.ArrayGetStringByPath
Visibility
  • Core Op - Official cables op
Author


 

INPUT PORTS


Array (Array)
Path (String)

the path (i.e. data.names)

Return path if missing (Number:boolean )

OUTPUT PORTS


Output (String)

the string

Found (boolean Number)

Usages of ArrayGetStringByPath

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


cloned op from Ops.Json.ObjectGetStringByPathuser avatarcables - 2021-01-08
Ops.User.cables.ArrayGetStringByPath renamed to Ops.Json.ArrayGetStringByPathuser avatarcables - 2021-01-08