JDatabaseQuery::charLength
Gets the number of characters in a string.
Note, use 'length' to find the number of bytes in a string. Usage: $query->select($query->charLength('a'));
Signature
public function charLength(string
$field,
[string
$operator = null,
[string
$condition = null]] )
Parameters
-
$field
- A value.
-
$operator
- Comparison operator between charLength integer value and $condition
-
$condition
- Integer value to compare charLength with.
Returns
- string
- The required char length call.