Subscribe

UiPath Apps

The UiPath Apps Guide

Function: StartsWith

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

This function performs a case insensitive check.

SyntaxDescriptionExample
StartsWith(Text, Fragment)Returns true if a string starts with a text fragment.



Argument

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

  • StartsWith("Blueberry”, "blue"): True
  • StartsWith("Blueberry”, "Berry"): False
  • StartsWith("Blueberry”, "Raspberry"): False
  • StartsWith("My favorite jam is Apricot”, "Apricot"): False

Updated about a year ago

Function: StartsWith


Suggested Edits are limited on API Reference Pages

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