Trim
This formula allows you to trim a string, removing any leading and trailing whitespaces. For example, " hello " would turn into "hello".
Returns
string
JSON Format
{
"type": "trim",
"components": ...
}
RPG Script
This component can be written in RPG Script as:
trim(...)
Fields
| Field | Type | Required | Description |
|---|---|---|---|
components | StatFormulaComponent | ✓ | The formula for the string you want to trim.@type string |