Ugh
Perhaps it would be better use String library Get Substring [1] and BuiltIn library Catenate keywords.
Split the string from correct point in two portions. Then use the Catenate to add the comma as correct separator.
-Tatu
[1] http://robotframework.googlecode.com/hg/doc/libraries/String.html?r=2.7.4#Get%20Substring
[2] http://robotframework.googlecode.com/hg/doc/libraries/BuiltIn.html?r=2.7.4#Catenate
Hello,I would like to replace 12345 with 12,345. I am running into issue with the replace portion of the regex.${MYTest}= Replace String Using Regexp ${MYTest} (\\d{3}(?!$))) $1,
Could someone point me in the correct direction here? Or is there a better way to add commas to numbers?Thanks.--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotframework-users/-/dvo8PA94T70J.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.