Skip to main content

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

NameRequiredTypeDescription
textYesAny text e.g. "Hello, World!"
beginning amountNoA whole number bigger or equal 0The amount of characters to remove from the beginning of the text.
end amountNoA whole number bigger or equal 0The 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.