Difference between revisions of "Label Functions"

From Commander4j Wiki
Jump to: navigation, search
Line 3: Line 3:
 
Syntax    <SUBSTRING(string,start,len)><br>
 
Syntax    <SUBSTRING(string,start,len)><br>
 
Example <SUBSTRING(<*SSCC*>,1,3)><br>
 
Example <SUBSTRING(<*SSCC*>,1,3)><br>
 
  
 
== LEFT ==
 
== LEFT ==
Line 32: Line 31:
 
== LOWERCASE ==
 
== LOWERCASE ==
 
<br>
 
<br>
Syntax    < RIGHT(string,len)><br>
+
Syntax    < LOWERCASE(string)><br>
example < RIGHT(<*SSCC*>,3)><br>
+
example < LOWERCASE(<* DESCRIPTION*>)><br>
  
 
== TRIM ==
 
== TRIM ==
 
<br>
 
<br>
Syntax    < RIGHT(string,len)><br>
+
Syntax    < RIGHT(string)><br>
example < RIGHT(<*SSCC*>,3)><br>
+
example < RIGHT(<* DESCRIPTION*>)><br>
  
 
== LTRIM ==
 
== LTRIM ==
 
<br>
 
<br>
Syntax    < RIGHT(string,len)><br>
+
Syntax    < RIGHT(string)><br>
example < RIGHT(<*SSCC*>,3)><br>
+
example < RIGHT(<* DESCRIPTION*>)><br>
  
 
== RTRIM ==
 
== RTRIM ==
 
<br>
 
<br>
Syntax    < RIGHT(string,len)><br>
+
Syntax    < RIGHT(string)><br>
example < RIGHT(<*SSCC*>,3)><br>
+
example < RIGHT(<* DESCRIPTION*>)><br>
  
 
== TIMESTAMP ==
 
== TIMESTAMP ==

Revision as of 13:00, 7 March 2014

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 < LOWERCASE(string)>
example < LOWERCASE(<* DESCRIPTION*>)>

TRIM


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

LTRIM


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

RTRIM


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

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)>