<< string2blob | FB 2.5 Language Reference | substr >>
<< string2blob | FB 2.1 Language Reference | substr >>

strlen

Library: ib_udf

Added in: IB

Better alternatives: Internal functions BIT_LENGTH(), CHAR[ACTER]_LENGTH and/or OCTET_LENGTH().

Description

Returns the length of the argument string.

Result type: INTEGER

Syntax

 strlen (str)

Declaration

 DECLARE EXTERNAL FUNCTION strlen
   CSTRING(32767)
   RETURNS INTEGER BY VALUE
   ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf'

back to top of page
<< string2blob | FB 2.5 Language Reference | substr >>
<< string2blob | FB 2.1 Language Reference | substr >>