Text properties that support variables can be edited with the Define single-line text with variables property editor.
The text field at the bottom contains the text being edited. Variables are simply mixed-in with static text and enclosed in square brackets [ ] (see Variables). The list boxes and text fields in the top portion of the property editor offer guidance for dealing with variables, as explained below.
The rightmost column shows any arguments relevant for the selected variable; for example:
See Data types, Formatting, Indexed variables, and String manipulations.