title: why i am getting error in using replace function in apache pig?
body: <p>I am running following command </p>
  
  <pre><code>TestData = FOREACH records Generate From as from, MsgId as Msg, REPLACE(toAddress,';' , ',');
  </code></pre>
  
  <p>I am getting following error </p>
  
  <blockquote>
    <p>  mismatched character
    '' expecting ''' 2014-04-14 12:27:56,863 [main] ERROR
    org.apache.pig.tools.grunt.Grunt - ERROR 1200:   mismatched character ''
    expecting '''</p>
  </blockquote>
  
  <p>May be it is because of ; character ? if it so then how to apply the patch for it ..</p>