Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Operators are applied to expressions using post-fix notation with a period (.) as the separator. For example, if a is a string, the lc() operator, which lowers the case of all the characters in the string, is applied to a as follows:

a.lc()

Operators can be chained. The following expression splits a into an array and then calculates the length of the resulting array:

a.split(re/;/).length()

The following sections describe operators currently available. They are organized based on the kind of value on which they operate.

  • No labels