Apps
2021.10
False
横幅背景图像
Apps User Guide for Automation Suite
上次更新日期 2024年4月19日

函数:ENDSWITH

使用此函数检查字符串是否以特定片段开头。系统将返回 True 或 False 值作为输出。

注意:

此函数执行不区分大小写的检查。

语法

描述

示例

EndsWith(文本, 片段)

如果字符串以文本片段结尾,则返回 true

docs image

参数

有关参数的更多信息,请参阅下表。

参数

类型

描述

Text

必填

在搜索Fragment时要检查的文本。

Fragment

必填

要在Text中搜索的文本。

示例

  • 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
  • 参数
  • 示例

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.