Scripting

Search The Documentation:

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

split

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Split and get array, default separator is comma, optional specify extra index to get one string back instead of the whole array

Parameters:

  • input
    • A string value
  • separator
    • A string value

returns either an array or single string value

Example:

1
obj.string[] split(input, separator)
Tags
Was this article helpful to you? Yes No

How can we help?