unreal.RigVMFunction_StringReplace

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

Bases: RigVMFunction_StringBase

Replace all occurrences of a substring in this string

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_String.h

Editor Properties: (see get_editor_property/set_editor_property)

  • name (str): [Read-Write] The input string to search within

  • new (str): [Read-Write] The new string to replace the old string with

  • old (str): [Read-Write] The old string to search for

  • result (str): [Read-Write] The resulting replaced string

property name: str

[Read-Write] The input string to search within

Type:

(str)

property new: str

[Read-Write] The new string to replace the old string with

Type:

(str)

property old: str

[Read-Write] The old string to search for

Type:

(str)

property result: str

[Read-Only] The resulting replaced string

Type:

(str)