Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Text
  5. getElement

getElement

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Get a single entry from a string array, counting starting from 1 like LUA

Parameters:

  • input
    • A string value
  • item Optional
    • An integer value
  • separator Optional
    • A string value

returns a String (text) value

Example:

1
obj.getElement(input, item = 1, separator)
Tags
Was this article helpful to you? Yes No

How can we help?