Ugh
Using String library Replace String Using Regexp keyword[1] should do the trick for you.
-Tatu
Send from my mobile
[1] http://robotframework.googlecode.com/svn/trunk/doc/libraries/String.html#Replace String Using Regexp
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
${Text}= Replace String " WAT ERL O O ON " ${space} ${empty}
${Text}= Evaluate " WAT ERL O O ON ".replace(" ", "")
Hope this helps!!
${test3} Replace String Using Regexp ${test} ${SPACE}+ ${SPACE}
${test3} will contain "one@ @space, two@ @spaces Six@ @spaces, Five@ @spaces" (length = 53, i.e. the 10 superfluous spaces have been removed)