original_string: public static function Substring($pValue = '', $pStart = 0, $pLength = 0)
      {
          if (self::getIsMbstringEnabled()) {
              return mb_substr($pValue, $pStart, $pLength, 'UTF-8');
          }
  
          if (self::getIsIconvEnabled()) {
              return iconv_substr($pValue, $pStart, $pLength, 'UTF-8');
          }
  
          // else substr
          return substr($pValue, $pStart, $pLength);
      }
code: public static function Substring($pValue = '', $pStart = 0, $pLength = 0)
      {
          if (self::getIsMbstringEnabled()) {
              return mb_substr($pValue, $pStart, $pLength, 'UTF-8');
          }
  
          if (self::getIsIconvEnabled()) {
              return iconv_substr($pValue, $pStart, $pLength, 'UTF-8');
          }
  
          // else substr
          return substr($pValue, $pStart, $pLength);
      }
code_tokens: public static function Substring ( $ pValue = '' , $ pStart = 0 , $ pLength = 0 ) { if ( self :: getIsMbstringEnabled ( ) ) { return mb_substr ( $ pValue , $ pStart , $ pLength , 'UTF-8' ) ; } if ( self :: getIsIconvEnabled ( ) ) { return iconv_substr ( $ pValue , $ pStart , $ pLength , 'UTF-8' ) ; } // else substr return substr ( $ pValue , $ pStart , $ pLength ) ; }
docstring: Get a substring of a UTF-8 encoded string. First try mbstring, then iconv, finally strlen
  
  @param string $pValue UTF-8 encoded string
  @param int $pStart Start offset
  @param int $pLength Maximum number of characters in substring
  @return string
docstring_tokens: Get a substring of a UTF - 8 encoded string . First try mbstring then iconv finally strlen