| Package | Description |
|---|---|
| io.rapidpro.expressions.functions |
| Modifier and Type | Method and Description |
|---|---|
static Object |
ExcelFunctions._if(EvaluationContext ctx,
Object logicalTest,
Object valueIfTrue,
Object valueIfFalse)
Returns one value if the condition evaluates to TRUE, and another value if it evaluates to FALSE
|
static String |
ExcelFunctions.fixed(EvaluationContext ctx,
Object number,
Object decimals,
Object noCommas)
Formats the given number in decimal format using a period and commas
|
static int |
CustomFunctions.word_count(EvaluationContext ctx,
Object text,
Object bySpaces)
Returns the number of words in the given text string
|
static String |
CustomFunctions.word_slice(EvaluationContext ctx,
Object text,
Object start,
Object stop,
Object bySpaces)
Extracts a substring spanning from start up to but not-including stop
|
static String |
CustomFunctions.word(EvaluationContext ctx,
Object text,
Object number,
Object bySpaces)
Extracts the nth word from the given text string
|
Copyright © 2018. All rights reserved.