在Selenium IDE中有没有办法将字符串拆分为数组

在Selenium IDE中有没有办法将字符串拆分为数组,selenium,selenium-ide,Selenium,Selenium Ide,我想把字符串“20分1” 有没有办法将1存储在一个变量中,将20存储在另一个变量中?我不是这方面的专家,但这可能会对您有所帮助 看来,通过Selenium拆分字符串是可能的,我不是这方面的专家,但这可能会对您有所帮助 看起来可以通过Selenium将字符串拆分为20个文本中的1个 |storeEval |“${Text}”.split(“”[0]| firstsection| |echo${firstsection}| [信息]回声:1 |storeEval |“${Text}”.split

我想把字符串“20分1”


有没有办法将1存储在一个变量中,将20存储在另一个变量中?

我不是这方面的专家,但这可能会对您有所帮助


看来,通过Selenium拆分字符串是可能的,我不是这方面的专家,但这可能会对您有所帮助


看起来可以通过Selenium将字符串拆分为20个文本中的1个

|storeEval |“${Text}”.split(“”[0]| firstsection|

|echo${firstsection}|

[信息]回声:1

|storeEval |“${Text}”.split(“”[3]| lastsection|

|echo |${lastsection}||


[信息]echo:20

|存储20个文本中的1个

|storeEval |“${Text}”.split(“”[0]| firstsection|

|echo${firstsection}|

[信息]回声:1

|storeEval |“${Text}”.split(“”[3]| lastsection|

|echo |${lastsection}||


[信息]echo:20

“请告诉我如何用自行车驾驶60!”WebDriver是关键字“请告诉我如何用自行车驾驶60!”WebDriver是关键字