SQL-J Language Reference,
Page 64 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

CHAR_LENGTH, CHARACTER_LENGTH

CHAR_LENGTH (or its synonym, CHARACTER_LENGTH) is applied to either a character string expression or a bit string expression and returns the number of characters in the result.

Because all built-in data types are implicitly converted to strings, this function can act on all built-in data types.

Syntax

CHAR[ACTER]_LENGTH ( { CharacterExpression | BitExpression } )

Example

CHAR_LENGTH('supercalifragilistic') -- returns 20
CHAR_LENGTH(X'FF') -- returns 1
CHAR_LENGTH(130) -- returns 3
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.