unreal.PCGMetadataStringOperation

class unreal.PCGMetadataStringOperation

Bases: EnumBase

EPCGMetadata String Operation

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGMetadataStringOpElement.h

APPEND: PCGMetadataStringOperation = Ellipsis

0

FIND: PCGMetadataStringOperation = Ellipsis

Return the index of the first occurence of B in A. -1 if not found

Type:

16

FIND_LAST: PCGMetadataStringOperation = Ellipsis

Return the index of the last occurence of B in A. -1 if not found

Type:

17

LEFT: PCGMetadataStringOperation = Ellipsis

Returns the left most given number of characters

Type:

9

LEFT_CHOP: PCGMetadataStringOperation = Ellipsis

Returns the left most characters from the string chopping the given number of characters from the end

Type:

10

MATCHES: PCGMetadataStringOperation = Ellipsis

True if string A matches substring B exactly. B can have wildcards. ?-type wildcard: ‘’ matches 0 or more arbitrary characters, ‘?’ matches either an arbitrary character or nothing, all other characters match themselves.

Type:

3

MID: PCGMetadataStringOperation = Ellipsis

Returns the substring from Start position for Count characters.

Type:

13

REMOVE_FROM_END: PCGMetadataStringOperation = Ellipsis

Removes the text from the end of the string if it exists.

Type:

15

REMOVE_FROM_START: PCGMetadataStringOperation = Ellipsis

Removes the text from the start of the string if it exists.

Type:

14

REPLACE: PCGMetadataStringOperation = Ellipsis

1

RIGHT: PCGMetadataStringOperation = Ellipsis

Returns the right most given number of characters

Type:

11

RIGHT_CHOP: PCGMetadataStringOperation = Ellipsis

Returns the right most characters from the string chopping the given number of characters from the start

Type:

12

SUBSTRING: PCGMetadataStringOperation = Ellipsis

True if string A contains substring B.

Type:

2

TO_LOWER: PCGMetadataStringOperation = Ellipsis

Convert all characters to lower case.

Type:

5

TO_UPPER: PCGMetadataStringOperation = Ellipsis

Convert all characters to upper case.

Type:

4

TRIM_END: PCGMetadataStringOperation = Ellipsis

Trim whitespace from the end of the string.

Type:

7

TRIM_START: PCGMetadataStringOperation = Ellipsis

Trim whitespace from the beginning of the string.

Type:

6

TRIM_START_AND_END: PCGMetadataStringOperation = Ellipsis

Trim whitespace from the beginning and end of the string.

Type:

8