This is an old revision of the document!


DRAFT

Omnidex SQL Function: $LJ

Description

The $LJ function will left-justify a string by eliminating the leading white space.

The return data type is C STRING.

The return length is:

the length of the string if the string is a C STRING column the length of the string +1 if the string is a CHAR column or a literal.

Syntax

$LJ( < column_spec | 'string' > )

< column_spec | 'string' >

Required. The string that is to be left. This can be a string literal or other scalar_expression resulting in a string.

Example

Example 1

select $LJ(company), $RJ(company) from customers where company='systems'

$LJ(CUSTOMERS.COMPANY)


$RJ(CUSTOMERS.COMPANY)


Dynamic Information Systems Corporation

Dynamic Information Systems Corporation

Camco Systems

Camco Systems

ASK Computer Systems, Inc.

ASK Computer Systems, Inc.

 
Back to top
dev/sql/functions/lj.1260199673.txt.gz · Last modified: 2016/06/28 22:38 (external edit)