#拆分字符串
Comment ${str} Set Variable 'hello,world'
Comment ${res} Evaluate ${str}.split(',') #结果["hello","world"]
#去空格
Comment ${res} Evaluate ' example '.strip() #结果:example
#获取字符串个数
Comment ${res} Evaluate 'memeroy'.count('me',0,
RF-测试中常用函数
最新推荐文章于 2021-02-02 13:21:13 发布