Thread: Where is the String Length function?

Where is the String Length function?

From
Trinh Hoai Nhan
Date:
It am a bit ashamed asking this, but I could not find a pgsql function
that returns length of a text. Would anybody give me an advice?

Thank you in advance.
Trinh H. Nhan.


Re: [SQL] Where is the String Length function?

From
Aleksey Dashevsky
Date:
Try length function:
userbase=> select length(cast ('123456' as text));
length
------
     6
(1 row)


On Tue, 30 Jun 1998, Trinh Hoai Nhan wrote:

> It am a bit ashamed asking this, but I could not find a pgsql function
> that returns length of a text. Would anybody give me an advice?
>
> Thank you in advance.
> Trinh H. Nhan.
>
>