GetListValue » 历史记录 » 修订 3
修订 2 (machenhe, 2022-04-25 15:27) → 修订 3/4 (yangdefeng, 2023-08-17 11:49)
h4. _*%{color:green}getListValue%*_ 获取[[pgExtractString]]命令拆分后的指定顺序字符串 标签:命令定义|getListValue *格式* |命令名 |参数1 |参数2 |参数3 | |getListValue |pgExtractString拆分返回字符串 |取拆分后第几个 |结果保存变量 | *说明* * 参数1 [[pgExtractString]]拆分返回字符串 * 参数2 取拆分后第几个字符串 * 参数3 保存结果的返回变量 - - h4. *%{color:deepskyblue}特戒引擎脚本示例:%* *%{color:deepskyblue}脚本示例:%* bq. [@main] #act mov s0 特戒|版本39|发布日期20220305 [[pgextractString]] | s0 s$拆分值 n0 *{color:green}getListValue* getListValue s$拆分值 1 s$返回结果 [[sendMsg]] sendMsg 6 拆分第1值是:<$str(s$返回结果)> [[sendMsg]] sendMsg 6 拆分数量<$str(n0)>