Function to get the last character of text.
last also has a function of the same name that retrieves the last item in an array.
And it works in the opposite way to first.
|text||Required field||Target text.|
How to use
In many cases, it is used to initialize or set variables of type "String".
Clicking on last in the "Expression" tab sets the function name and () in the formula field.
If you see something like the following, your settings are complete.
You can change the contents of the function by clicking on the purple icon.
When dynamic content or variables are used in expressions, special specifications are required.
Examples of arguments and results
For example, last('ABCDE') will result in "E".