public function char_length($field, $operator = null, $condition = null)
    {
        // @codingStandardsIgnoreEnd
        return 'CHAR_LENGTH(' . $field . ')' .
            ($operator !== null && $condition !== null ? ' ' . $operator . ' ' . $condition : '');
    }
public function char_length($field, $operator = null, $condition = null)
    {
        // @codingStandardsIgnoreEnd
        return 'CHAR_LENGTH(' . $field . ')' .
            ($operator !== null && $condition !== null ? ' ' . $operator . ' ' . $condition : '');
    }
public function char_length ( $ field , $ operator = null , $ condition = null ) { // @codingStandardsIgnoreEnd return 'CHAR_LENGTH(' . $ field . ')' . ( $ operator !== null && $ condition !== null ? ' ' . $ operator . ' ' . $ condition : '' ) ; }
Gets the number of characters in a string.

Note, use 'length' to find the number of bytes in a string.

@param   string $field     A value.
@param   string $operator  Comparison operator between charLength integer value and $condition
@param   string $condition Integer value to compare charLength with.

@return  string  The required char length call.

@since   2.0

@codingStandardsIgnoreStart
Gets the number of characters in a string .