apps
2021.10
false
Apps User Guide for Automation Suite
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Apr 19, 2024

Function: Contains

Check to see if a string contains a text fragment

Use this function to check if a string contains a specific fragment. A true/ false value is returned as output.

Attention:

This function performs a case insensitive check.

Syntax

Description

Example

Contains(Text, Fragment)

Returns true if a string contains 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

  • Contains("Blueberry”, "blue"): True
  • Contains("Blueberry”, "Berry"): True
  • Contains("Blueberry”, "Raspberry"): False
  • Contains("My favorite jam is Apricot”, "Apricot"): 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.