protected function getChunk($offset)
	{
		if ( ! is_numeric($offset) || ! is_int(+$offset) || $offset < 0) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, offset, to be a positive "
					. "integer or zero"
			);	
		}
		
		$chunk = false;
		
		$text = (string) $this->text;
		
		if ($offset < mb_strlen($text)) {
			$chunk = mb_substr($text, $offset, $this->size, $this->encoding);
		} 
		
		return $chunk;
	}
protected function getChunk($offset)
	{
		if ( ! is_numeric($offset) || ! is_int(+$offset) || $offset < 0) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, offset, to be a positive "
					. "integer or zero"
			);	
		}
		
		$chunk = false;
		
		$text = (string) $this->text;
		
		if ($offset < mb_strlen($text)) {
			$chunk = mb_substr($text, $offset, $this->size, $this->encoding);
		} 
		
		return $chunk;
	}
protected function getChunk ( $ offset ) { if ( ! is_numeric ( $ offset ) || ! is_int ( + $ offset ) || $ offset < 0 ) { throw new \ InvalidArgumentException ( __METHOD__ . "() expects parameter one, offset, to be a positive " . "integer or zero" ) ; } $ chunk = false ; $ text = ( string ) $ this -> text ; if ( $ offset < mb_strlen ( $ text ) ) { $ chunk = mb_substr ( $ text , $ offset , $ this -> size , $ this -> encoding ) ; } return $ chunk ; }
Returns a string chunk or false if chunk does not exist

@param  int  $offset  the chunk's offset
@return  string|false
@throws  InvalidArgumentException  if $offset is not a positive int or zero
@since  0.1.0
Returns a string chunk or false if chunk does not exist