Functions
replaceAll
replaceAll
replace
replace
slice
slice
smallerEq
smallerEq
smaller
smaller
largerEq
largerEq
larger
larger
‣
STRING
The first argument is the value to search. The second argument signifies what character to search for and replace. By entering a simple character, it will replace all matches of that character, but Regex can get very complex. click the link for more info. The third argument is the string that will replace what the second argument finds.
replaceAll(number, text, text)
replaceAll(text, text, text)
replaceAll(boolean, text, text)
he first argument is the value to search. The second argument signifies what character to search for and replace. By entering a simple character, it will replace only the first occurrence of that character, but Regex can get very complex. click the link for more info. The third argument is the string that will replace what the second argument finds.
replace(number, text, text)
replace(text, text, text)
replace(boolean, text, text)
Extracts (keeps) a portion of a text string determined by numbers given in the argument that correspond to character count. It’s best to think of the place where it slices as after the characters given by the argument number. If only 1 number is given, it is considered the end slice point and will extract everything before it.
slice(text, number)
slice(text, number, number)
‣
NUMBER
‣
BOOLEAN
Checks if the first argument is larger than the second OR equal to it. Requires two values of the same type to be compared.
- Text values compare character count
- Numbers are self explanatory
- Earlier Dates are smaller
- False is smaller than True
text <= text
boolean <= boolean
date <= date
number <= number
smallerEq(text, text)
smallerEq(boolean, boolean)
smallerEq(date, date)
smallerEq(number, number)
Checks if the first argument is smaller than the second. Requires two values of the same type to be compared.
- Text values compare character count
- Numbers are self explanatory
- Earlier Dates are smaller
- false is smaller than true
text < text
boolean < boolean
date < date
number < number
smaller(text, text)
smaller(boolean, boolean)
smaller(date, date)
smaller(number, number)
Checks if the first argument is larger than the second OR equal to it. Requires two values of the same type to be compared.
- Text values compare character count
- Numbers are self explanatory
- Later Dates are larger
- True is larger than false
text >= text
boolean >= boolean
date >= date
number >= number
largerEq(text, text)
largerEq(boolean, boolean)
largerEq(date, date)
largerEq(number, number)
Checks if the first argument is larger than the second. Requires two values of the same type to be compared.
- Text values compare character count
- Numbers are self explanatory
- Later Dates are larger
- True is larger than false
text > text
boolean > boolean
date > date
number > number
larger(text, text)
larger(boolean, boolean)
larger(date, date)
larger(number, number)
smaller( )
-Returns true if the first argument is smaller than the second.
Explanation
- Requires: 2
Values
of the same type - 2
Strings
or - 2
Numbers
or - 2
Dates
or - 2
Booleans
- Returns:
Boolean
Syntax
text < text
boolean < boolean
date < date
number < number
smaller(text, text)
smaller(boolean, boolean)
smaller(date, date)
smaller(number, number)
Examples
10 < 8 == false
Syntax | smaller |
---|---|
smaller (10, 8) | |
10 < 8 |