title: Method within a method in robot framework
body: <p><strong>Language:</strong> python-3.7.3
  <strong>Framework:</strong> Robot Framework-3.1.1
  <strong>IDE:</strong> Pycharm
  <strong>Proficiency:</strong> Novice</p>
  
  <p>I have an user defined method written in python which returns string after replacing matching characters(s).</p>
  
  <p><strong>String:</strong> (12356, )</p>
  
  <p><strong>Character to replace:</strong> ( and , and )</p>
  
  <p><strong>replacecharacter:</strong> ${empty}</p>
  
  <p><strong>Expected:</strong> 123456</p>
  
  <p><strong>Method:</strong></p>
  
  <pre><code>def replace_a_specific_character_in_a_String(self, str_var, replacingCharacter, charactertoReplace):
      str = str_var.replace(replacingCharacter, charactertoReplace)
      return str
  </code></pre>
  
  <p><strong>I wish to call the same method from my robot file as below.</strong></p>
  
  <pre><code>${response}=    replace a specific character in a String    [replace a specific character in a String    ${response}    , ${EMPTY})   ${EMPTY}]     (        ${EMPTY}
  </code></pre>
  
  <p><strong>This throws the below error</strong></p>
  
  <pre><code>Keyword 'Methods.Replace A Specific Character In A String' expected 3 arguments, got 6.
  </code></pre>
  
  <p>I understood the error message as it takes method inside the method as parameters. So what is the correct syntax to be followed in such cases. Please advise.</p>