Calculation field: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 68: Line 68:
! Function !! Arguments !! Returns
! Function !! Arguments !! Returns
|-
|-
| '''numToStr''' || number || String representation of number
| '''numToStr''' || ''number'' || String representation of ''number''
|-
|-
| '''compareTo''' || string1,<br/>string2 || Zero, if the strings are equal<br/> A negative number, if string1 < string2<br/> A positive number, if string1 > string2
| '''compareTo''' || ''string1,<br/>string2'' || Zero, if the strings are equal<br/> A negative number, if ''string1'' < ''string2''<br/> A positive number, if ''string1'' > ''string2''
|-
|-
| '''compareToIgnoreCase''' || string1,<br/>string2 || Zero, if the strings are equal (ignoring case)<br/> A negative number, if string1 < string2 (ignoring case)<br/> A positive number, if string1 > string2 (ignoring case)
| '''compareToIgnoreCase''' || ''string1,<br/>string2'' || Zero, if the strings are equal (ignoring case)<br/> A negative number, if ''string1'' < ''string2'' (ignoring case)<br/> A positive number, if ''string1'' > ''string2'' (ignoring case)
|-
|-
| '''concat''' || string1,<br/>string2 || String of string2 appended to the end of string1
| '''concat''' || ''string1,<br/>string2'' || String of ''string2'' appended to the end of ''string1''
|-
|-
| '''endsWith''' || string1,<br/>string2 || TRUE (1.0), if string1 ends with string2<br/> FALSE (0.0), if it doesn't
| '''endsWith''' || ''string1,<br/>string2'' || TRUE (1.0), if ''string1'' ends with ''string2''<br/> FALSE (0.0), if it doesn't
|-
|-
| '''equals''' || string1,<br/>string2 || TRUE (1.0), if the strings are identical<br/> FALSE (0.0), if not
| '''equals''' || ''string1,<br/>string2'' || TRUE (1.0), if the strings are identical<br/> FALSE (0.0), if not
|-
|-
| '''equalsIgnoreCase''' || string1,<br/>string2 || TRUE (1.0), if the strings are identical (ignoring case)<br/> FALSE (0.0), if not
| '''equalsIgnoreCase''' || ''string1,<br/>string2'' || TRUE (1.0), if the strings are identical (ignoring case)<br/> FALSE (0.0), if not
|-
|-
| '''indexOf''' || string1,<br/>string2,<br/>index || Within string1 from index to the end, the index of the next occurrence of string2<br/>-1, if no more occurrences
| '''indexOf''' || ''string1,<br/>string2,<br/>index'' || Within ''string1'' from ''index'' to the end, the index of the next occurrence of ''string2''<br/>-1, if no more occurrences
|-
| '''length''' ||'' string'' || Length of ''string'', in characters
|-
| '''replace''' || ''string,<br/>char1,<br/>char2'' || String of ''string'' with all matching ''char1''s replaced with ''char2''s
|}
|}