Scripting

Search The Documentation:

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

replace

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Replace C# style, pass a string, pass the text to find, and what to replace it with everywhere it occurs.

Parameters:

  • input
    • A string value
  • find
    • A string value
  • replace
    • A string value

returns a String (text) value

Example:

1
obj.replace(input, find, replace)
Tags
Was this article helpful to you? Yes No

How can we help?