unreal.RigUnit_StringMiddle

class unreal.RigUnit_StringMiddle(value: str = '', start: int = 0, count: int = 0, result: str = '')

Bases: RigUnit_StringBase

Returns the middle section of a string

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_String.h

Editor Properties: (see get_editor_property/set_editor_property)

  • count (int32): [Read-Write] Count: if count is set to -1 all character from Start will be returned

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

  • start (int32): [Read-Write] Start: the index of the first character

  • value (str): [Read-Write] Value

property count: int

[Read-Write] Count: if count is set to -1 all character from Start will be returned

Type:

(int32)

property result: str

[Read-Only] Result

Type:

(str)

property start: int

[Read-Write] Start: the index of the first character

Type:

(int32)

property value: str

[Read-Write] Value

Type:

(str)