original_string: public function replace($sTarget, $sAttribute, $sSearch, $sData)
      {
          return $this->addCommand(
              array(
                  'cmd' => 'rp',
                  'id' => trim((string)$sTarget, " \t"),
                  'prop' => trim((string)$sAttribute, " \t")
              ),
              array(
                  's' => trim((string)$sSearch, " \t\n"),
                  'r' => trim((string)$sData, " \t\n")
              )
          );
      }
code: public function replace($sTarget, $sAttribute, $sSearch, $sData)
      {
          return $this->addCommand(
              array(
                  'cmd' => 'rp',
                  'id' => trim((string)$sTarget, " \t"),
                  'prop' => trim((string)$sAttribute, " \t")
              ),
              array(
                  's' => trim((string)$sSearch, " \t\n"),
                  'r' => trim((string)$sData, " \t\n")
              )
          );
      }
code_tokens: public function replace ( $ sTarget , $ sAttribute , $ sSearch , $ sData ) { return $ this -> addCommand ( array ( 'cmd' => 'rp' , 'id' => trim ( ( string ) $ sTarget , " \t" ) , 'prop' => trim ( ( string ) $ sAttribute , " \t" ) ) , array ( 's' => trim ( ( string ) $ sSearch , " \t\n" ) , 'r' => trim ( ( string ) $ sData , " \t\n" ) ) ) ; }
docstring: Add a command to replace a specified value with another value within the given element's attribute
  
  @param string        $sTarget            The id of the element to update
  @param string        $sAttribute            The attribute to be updated
  @param string        $sSearch            The needle to search for
  @param string        $sData                The data to use in place of the needle
  
  @return \Jaxon\Plugin\Response
docstring_tokens: Add a command to replace a specified value with another value within the given element s attribute