Text.At
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns a character starting at a zero-based offset.
Text.At(value as nullable text, index as number) as nullable text
| Argument | Description |
|---|---|
| value | The value to parse. |
| index | The index of the character to return. |
- If the offset is greater than index, an Expression.Error is thrown.
Text.At("abcd", 0) equals "a"
Text.At("abcd", 5) equals error
Show: