What it does
Take characters from a position within text.
Syntax
MID(text, start, count)Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.
Arguments, in order
| Argument | Meaning |
|---|---|
text | Source text. |
start | First character position, starting at 1. |
count | Maximum number of characters to return. |
Returns: Text.
Worked examples
Example 1
Formula
MID("INV-1042", 5, 4)Result
"1042"Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.
Behaviour and limits
A start beyond the text returns empty text. Starts below 1 are treated as 1.
Use it with your fields
Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.

