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) |