original_string: protected function trim_left($string, $length) {
          return '...'.core_text::substr($string, core_text::strlen($string)-$length, $length);
      }
code: protected function trim_left($string, $length) {
          return '...'.core_text::substr($string, core_text::strlen($string)-$length, $length);
      }
code_tokens: protected function trim_left ( $ string , $ length ) { return '...' . core_text :: substr ( $ string , core_text :: strlen ( $ string ) - $ length , $ length ) ; }
docstring: Truncate a string from the left
  @param string $string The string to truncate
  @param int $length The length to truncate to
  @return string The truncated string
docstring_tokens: Truncate a string from the left