unreal.RigUnit_StringReplace

class unreal.RigUnit_StringReplace(name: str = '', old: str = '', new: str = '', result: str = '')

Bases: RigUnit_StringBase

Replace all occurrences of a substring in this string

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_String.h

Editor Properties: (see get_editor_property/set_editor_property)

  • name (str): [Read-Write] Name

  • new (str): [Read-Write] New

  • old (str): [Read-Write] Old

  • result (str): [Read-Write] Result

property name: str

[Read-Write] Name

Type:

(str)

property new: str

[Read-Write] New

Type:

(str)

property old: str

[Read-Write] Old

Type:

(str)

property result: str

[Read-Only] Result

Type:

(str)