Text.Slice
Slices off characters from beginning and end of a text value.
Syntax
Text.Slice "text" beginning_amount? end_amount?
Returns
text value
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
text | Yes | Any text e.g. "Hello, World!" | |
beginning amount | No | A whole number bigger or equal 0 | The amount of characters to remove from the beginning of the text. |
end amount | No | A whole number bigger or equal 0 | The amount of characters to remove from the end of the text. |
On a running server
Use serhelp Text.Slice to inspect the reference generated by your installed SER version.