INSFIELD
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
将一个新字段插入到以竖线符号 (|) 分隔的字符串列表数组中。 |
支持的脚本类型
|
|
|
|
|
|
|
|
|
通用 |
聊天 | 电话 | 語音邮件 | 工作项目 | 短信 |
类似操作的比较
Insfield 操作对字符串的处理方式与 Field操作相同,但 Insfield 并非读取字符串,而是向字符串中插入一个新成员,例如:
- 字符串:one,two,three,four,five,six
- 插入的字段:donut
- 分隔符:,
- 字段索引:3
- 结果变量:newString
结果变量 newString 现在将包含:one,two,donut,three,four,five,six。有关删除字段的信息,请参阅 Remfield 操作。
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| 字符串 | 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 ( { } ). |
| 要插入的字段 | The string to insert. |
| 分隔符 | 确定用于分隔各个字段的字符。 默认为竖线 (|) 字符。 |
| 字段索引 | The number indicating which property to extract, starting with 1. This property is looking for a number, therefore, you do not need to use curly brackets {}. |
| 结果变量 | The variable name that is created and holds returned information. For example, if the contact enters their account number as 123456, then the variable holds 123456. |
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
|
默认 |
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. |