我正在尝试拆分字符串“1 out of 20”
有没有办法将1存储在变量中,将20存储在另一个变量中?
答案 0 :(得分:1)
| store | 20个中的1个文字|
| storeEval | “$ {Text}”。split(“”)[0] |第一节|
| echo | $ {firstsection} | |
[info] echo:1
| storeEval | “$ {Text}”。split(“”)[3] | lastsection |
| echo | $ {lastsection} | |
[info] echo:20
答案 1 :(得分:0)