original_string: private function get_reply_subject($subject) {
          $prefix = get_string('replysubjectprefix', 'tool_messageinbound');
          if (!(substr($subject, 0, strlen($prefix)) == $prefix)) {
              $subject = $prefix . ' ' . $subject;
          }
  
          return $subject;
      }
code: private function get_reply_subject($subject) {
          $prefix = get_string('replysubjectprefix', 'tool_messageinbound');
          if (!(substr($subject, 0, strlen($prefix)) == $prefix)) {
              $subject = $prefix . ' ' . $subject;
          }
  
          return $subject;
      }
code_tokens: private function get_reply_subject ( $ subject ) { $ prefix = get_string ( 'replysubjectprefix' , 'tool_messageinbound' ) ; if ( ! ( substr ( $ subject , 0 , strlen ( $ prefix ) ) == $ prefix ) ) { $ subject = $ prefix . ' ' . $ subject ; } return $ subject ; }
docstring: Return a formatted subject line for replies.
  
  @param string $subject The subject string
  @return string The formatted reply subject
docstring_tokens: Return a formatted subject line for replies .