Text.StartsWith
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 logical value indicating whether a text value substring was found at the beginning of a string.
Note: Only comparer functions created through the library (Comparer.FromCulture) are supported.
Text.StartsWith(string as nullable text, substring as text, optional comparer as nullable function) as nullable logical
| Argument | Description |
|---|---|
| string | The text value to parse. |
| substring | The string to search for. |
| optional comparer | An optional comparer can be provided to influence the result. |
Show: