apps
2023.10
true
LEGACY
Legacy Apps User Guide for Automation Suite
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Jan 18, 2024

Function: EndsWith

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

Attention:

This function performs a case insensitive check.

Syntax

Description

Example

EndsWith(Text, Fragment)

Returns true if a string ends with a text fragment.

docs image

Arguments

For more information on arguments, see the table below.

Argument

Type

Description

Text

Required

The text to examine in search of the Fragment.

Fragment

Required

The 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
  • Arguments
  • Examples

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.