lithium\g11n\multibyte\adapter\Iconv::substr()

public method

Here used as a multibyte enabled equivalent of substr().

Parameters

  • string $string
  • integer $start
  • integer $length

Returns

string|boolean

Source

	public function substr($string, $start, $length) {
		return iconv_substr($string, $start, $length, 'UTF-8');
	}