PostgreSQLString FunctionsLENGTH
RIGHT

LENGTHString Functions

UPPER

Returns the character count of a string.

Syntax

LENGTH(str)

Example

Enter values below to update the example in real time.

name
char_count
customers
SELECT name, LENGTH(name) AS char_count
FROM customers;