Locate
此説明頁面適用於 Desktop Studio。 此資訊亦適用於 Studio。
|
|
在字串中搜尋字元或文字塊。 |
支援的程式碼類型
|
|
|
|
|
|
```
|
|
|
|
通用 |
電郵 | 聊天 | 電話 | 語音郵件 | 工作項目 | SMS |
|
輸入屬性
這些屬性定義了動作執行時使用的資料。
|
屬性 |
```
描述 ``` |
|---|---|
| 字串 | The string you want to insert, search, or parse. This property supports variable substitution. If this value is a variable, rather than the literal string value, use curly brackets ( { } ). |
| StringtoFind | The string to look for. Use of variable substitution is common. |
| 變數 | The name of the variable that you want to hold the value. |
| CaseSensitive | 此屬性的值為 true 或 false。True 要求 StringtoFind 文字必須與 String 中已包含的文字完全相同,並包括相同的字元大小寫。 |
結果分支條件
結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。
|
條件 |
描述 |
|---|---|
|
預設 |
Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |
|
OnFound |
Path taken if the String to Find is located. |
提示及技巧
如果找到了正在搜尋的字串,將觸發分支條件找到,但是,變數也將收到一個大於零的值。 這為偵測文字提供了兩種可能的方法。