right¶
Description¶
Returns a rightmost substring of its input.
Return type¶
string
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
right(value, length)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
value |
string |
no |
no |
none |
length |
int64 |
no |
no |
none |
Examples¶
make_col rightstring:right(somestring, 4)
Will make a ‘rightstring’ column with the right 4 characters of the text in the ‘somestring’ column.