SAND CDBMS Tools Reference Guide
NDL++ Functions:
Syntax and Examples


Return to String Function Index

 

String Function Syntax and Examples


LEN( )

LEN() returns the length of the specified string.

Syntax:

LEN(string)


Example:

input: samplestring

IMPORT @sample.dat
{

RECORD
{
field1 *\r\n
}
schema1.table1
{
col1 field1
col2 LEN(field1)
}

}


Results:

schema1.table1.col1 samplestring
schema1.table1.col2 12 

 

Return to String Function Index