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