Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_StringBase
- FRigVMFunction_StringTruncate
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/RigVMFunction_String.h |
| Include | #include "RigVMFunctions/RigVMFunction_String.h" |
Syntax
USTRUCT&40;
Meta&61;&40;DisplayName&61;"Chop", TemplateName&61;"Chop", Keywords&61;"Truncate,&45;,Remove,Subtract,Split"&41;&41;
struct FRigVMFunction_StringTruncate : public FRigVMFunction_StringBase
Remarks
Returns the left or right most characters from the string chopping the given number of characters from the start or the end
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | Chopped | The part of the name that has been chopped off | |
| int32 | Count | Number of characters to remove from left or right. | |
| bool | FromEnd | If set to true the characters will be removed from the end | |
| FString | Name | ||
| FString | Remainder | The part of the string without the chopped characters |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |