Tools/Mapper/Mapper.php
public function wordWrap($string, $length, $section)
    {
        $wrapped = wordwrap($string, $length, '\mapperDelimiter', true);
        $lines = explode('\mapperDelimiter', $wrapped);

        --$section;
        $result = '';
        if (isset($lines[$section])) {
            $result = $lines[$section];
        }

        return $result;
    }
public function wordWrap($string, $length, $section)
    {
        $wrapped = wordwrap($string, $length, '\mapperDelimiter', true);
        $lines = explode('\mapperDelimiter', $wrapped);

        --$section;
        $result = '';
        if (isset($lines[$section])) {
            $result = $lines[$section];
        }

        return $result;
    }
public function wordWrap ( $ string , $ length , $ section ) { $ wrapped = wordwrap ( $ string , $ length , '\mapperDelimiter' , true ) ; $ lines = explode ( '\mapperDelimiter' , $ wrapped ) ; -- $ section ; $ result = '' ; if ( isset ( $ lines [ $ section ] ) ) { $ result = $ lines [ $ section ] ; } return $ result ; }
Return the n-th section of the given string splitted by piece of the given length.

@param string $string
@param int    $length
@param int    $section

@return string
Return the n - th section of the given string splitted by piece of the given length .