Label Functions

From Commander4j Wiki
Revision as of 12:58, 7 March 2014 by Dgarratt (Talk | contribs)

Jump to: navigation, search

SUBSTRING


Syntax <SUBSTRING(string,start,len)>
Example <SUBSTRING(<*SSCC*>,1,3)>


LEFT


Syntax <LEFT(string,len)>
example <LEFT(<*SSCC*>,3)>

RIGHT


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

PADLEFT


Syntax < PADLEFT(string,len,char)>
example < PADLEFT(<* PROD_QUANTITY*>,4,0)>

PADRIGHT


Syntax < PADRIGHT(string,len),char>
example < PADRIGHT(<*PROD_QUANTITY*>,4,)>

UPPERCASE


Syntax < UPPERCASE(string)>
example < UPPERCASE(<*DESCRIPTION*>)>

LOWERCASE


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

TRIM


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

LTRIM


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

RTRIM


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

TIMESTAMP


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

USERNAME


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

VERSION


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

IIF


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>

EXPIRYDATE


Syntax < RIGHT(string,len)>
example < RIGHT(<*SSCC*>,3)>