活动
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
工作流活动
Last updated 2024年7月19日

随机字符串

生成具有给定长度和大小写的随机字符串。

定义

命名空间: UiPath.Testing.API

程序集: UiPath.Testing.Activities.Api(在 UiPath.Testing.Activities.Api.dll 中)

RandomString(Case,Int32)

string RandomString(
	Case CaseValue,
	int length
)string RandomString( Case CaseValue, int length )
caseValue Case
指定所生成字符串的大小写样式。 支持的样式: LowerCaseUpperCaseCamelCaseMixed
length Int32
指定字符串的长度。

返回值

生成的随机字符串。

  • 定义
  • RandomString(Case,Int32)
  • 返回值

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。