Locate

在字串中搜尋文字塊字元。

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

一般

電郵 聊天 電話 語音郵件 工作項目 SMS 數位

Input Properties

這些屬性定義了動作執行時使用的資料。

屬性

描述

String 要插入、搜尋或剖析的字串。此屬性支援變數替換。如果此值是變數,而不是常值字串值,則請使用大括號 {}。
StringtoFind 要尋找的字串。變數替換的使用很常見。
Variable 您想保留的變數名稱 the value.
CaseSensitive 此屬性的值為 true 或 false。True 要求 StringtoFind 文字與 String 中包含的文字完全相同,包括字元大小寫相同。

Result Branch Conditions

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

OnFound

「需尋找字串」已找到時採用的路徑。

Tips & Tricks

如果找到了正在搜尋的字串,將觸發分支條件,Found,但是變數也將收到一個大於零的值。這為偵測文字提供了兩種可能的方法。