Difference between revisions of "Extension Functions"

From Commander4j Wiki
Jump to: navigation, search
(Created page with "String removeLeadingZeros(String param) String padStringLeft(String value, int size, String character) String padStringRight(String value, int size, String character) String t...")
 
Line 11: Line 11:
 
String subString(String inputString, int startpos, int length)
 
String subString(String inputString, int startpos, int length)
 
String concat(String inputString1, String inputString2)
 
String concat(String inputString1, String inputString2)
 +
 +
{| class="wikitable"
 +
! Function Name
 +
! Parameters
 +
! Returns
 +
|-
 +
| removeLeadingZeros
 +
| String param
 +
| String
 +
|-
 +
| padStringLeft
 +
| String value, int size, String character
 +
| String
 +
|-
 +
| padStringRight
 +
| (String value, int size, String character)
 +
| String
 +
|-
 +
| trim
 +
| (String value)
 +
| String
 +
|-
 +
| nvl
 +
| String value, String defaultValue
 +
| String
 +
|-
 +
| padVariant
 +
| String value
 +
| String
 +
|-
 +
| padEAN
 +
| String value
 +
| String
 +
|-
 +
| date_DD_MMM_YY_to_ISO_Date
 +
| String inputString
 +
| String
 +
|-
 +
| formatDate
 +
| String inputString, String formatFrom, String formatTo
 +
| String
 +
|-
 +
| removeCommas
 +
| String inputString
 +
| String
 +
|-
 +
| subString
 +
| String inputString, int startpos, int length
 +
| String
 +
|-
 +
| concat
 +
| String inputString1, String inputString2
 +
| String
 +
|}

Revision as of 17:24, 20 January 2018

String removeLeadingZeros(String param) String padStringLeft(String value, int size, String character) String padStringRight(String value, int size, String character) String trim(String value) String nvl(String value, String defaultValue) String padVariant(String value) String padEAN(String value) String date_DD_MMM_YY_to_ISO_Date(String inputString) String formatDate(String inputString, String formatFrom, String formatTo) String removeCommas(String inputString) String subString(String inputString, int startpos, int length) String concat(String inputString1, String inputString2)

Function Name Parameters Returns
removeLeadingZeros String param String
padStringLeft String value, int size, String character String
padStringRight (String value, int size, String character) String
trim (String value) String
nvl String value, String defaultValue String
padVariant String value String
padEAN String value String
date_DD_MMM_YY_to_ISO_Date String inputString String
formatDate String inputString, String formatFrom, String formatTo String
removeCommas String inputString String
subString String inputString, int startpos, int length String
concat String inputString1, String inputString2 String