Subscribe

UiPath Apps

The UiPath Apps Guide

Function: EndsWith

Use this function to check if a string ends with a specific fragment. A true or false value is returned as output.

This function performs a case insensitive check.

SyntaxDescriptionExample
EndsWith(Text, Fragment)Returns true if a string ends with a text fragment.



Arguments

For more information on arguments, see the table below.

ArgumentTypeDescription
TextRequiredThe text to examine in search of the Fragment.
FragmentRequiredThe text to search for in Text.

Examples

  • EndsWith("Blueberry”, "blue"): False
  • EndsWith("Blueberry”, "Berry"): True
  • EndsWith("Blueberry”, "Raspberry"): False
  • EndsWith("My favorite jam is Apricot”, "Apricot"): True
  • EndsWith("example@uipath.com”, "@uipath.com"): True

Updated about a year ago

Function: EndsWith


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.