2014-01-20 55 views

回答

3

String library會幫助你。

${var} Set Variable x: 647, y: 1174 
${x} Fetch From Left ${var} , # now x should be "x: 674" 
${x} Fetch From Right ${x} ${SPACE} # and now it should be "674" 
${y} Fetch From Right ${var} y:${SPACE} 

或者編寫一個python函數,它與正則表達式相同,例如。