public function getColumnPaddingLength($columnIndex, $columnValue)
    {
        if ($this->columns->offsetExists($columnIndex) === false) {
            return 0;
        }

        return $this->columns->offsetGet($columnIndex) - strlen($columnValue);
    }
public function getColumnPaddingLength($columnIndex, $columnValue)
    {
        if ($this->columns->offsetExists($columnIndex) === false) {
            return 0;
        }

        return $this->columns->offsetGet($columnIndex) - strlen($columnValue);
    }
public function getColumnPaddingLength ( $ columnIndex , $ columnValue ) { if ( $ this -> columns -> offsetExists ( $ columnIndex ) === false ) { return 0 ; } return $ this -> columns -> offsetGet ( $ columnIndex ) - strlen ( $ columnValue ) ; }
Get the padding needed based on the max column length and the column value given

@param integer $columnIndex
@param string  $columnValue

@return integer
Get the padding needed based on the max column length and the column value given