apps
2023.4
false
UiPath logo, featuring letters U and I in white

Apps User Guide

Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Apr 19, 2024

Function: StartsWith

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

Note:

This function performs a case insensitive check.

Syntax

Description

Example

StartsWith(Text, Fragment)

Returns true if a string starts with a text fragment.

docs image

Argument

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

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