title: How to remove white space in a string with Robot Framework?
body: <p>My Variable : 54, 22</p>
  
  <p>What I want : 54,22</p>
  
  <p>I've tried : </p>
  
  <blockquote>
    <p>Execute Javascript var a = 54, 22;var x = a.split(' ').join('');return x</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>Execute Javascript var a = 54, 22;var x = a.replace(/\s/g, '');return x</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>log    ${str.strip()}</p>
  </blockquote>
  
  <p>But none of them solved my problem. When I execute these code seperately I got that error:</p>
  
  <blockquote>
    <p>FAIL : WebDriverException: Message: u'unknown error: Runtime.evaluate threw exception: SyntaxError: Unexpected number\n    at Object.InjectedScript._evaluateOn (:895:140)\n    at Object.InjectedScript._evaluateAndWrap (:828:34)\n    at Object.InjectedScript.evaluate (:694:21)\n  (Session info: chrome=43.0.2357.124)\n  (Driver info: chromedriver=2.12.301325 (962dea43ddd90e7e4224a03fa3c36a421281abb7),platform=Windows NT 6.1 SP1 x86_64)' </p>
  </blockquote>
  
  <p>How to solve that problem?</p>