Text.EndsWith

 

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 end of a string.

Text.EndsWith(string as nullable text, substring as text, optional comparer as nullable function) as nullable logical  

ArgumentDescription
stringThe text value to parse.
substringThe string to search for.
optional comparerAn optional comparer can be provided to influence the result.
  • Only comparer functions created through the library (Comparer.FromCulture) are supported.
Show: