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


Return to String Function Index

 

String Function Syntax and Examples


STRREV( )

The STRREV() function reverses a string.

Syntax:

STRREV(string)


Example:

input: samplestring,pots

IMPORT @sample.dat
{

VAR
{
V1 STRREV(field1)
V2 STRREV(field2)
}
RECORD
{
field1 *,
field2 *\r\n
}
schema1.table1
{
col1 %V1
col2 %V2
}

}


Results:

schema1.table1.col1 gnirtselpmas
schema1.table1.col2 stop

 

Return to String Function Index