Skip to main content

Utility Operators

Miscellaneous operators included with RevOps Templates.

List of Operators

{{ changecase }}

Change casing on the given string, optionally passing a delimiter to use between words in the returned string.

Params

  • string : The string to change.
  • returns

Example

{{changecase "fooBarBaz"}}
<!-- 'foo bar baz' -->
{{changecase('fooBarBaz' '-'}}
<!-- 'foo-bar-baz' -->

{{ random }}

Generate a random number

Params

  • min
  • max
  • returns

Example

{{random 0 10}}
<!-- 5 -->
``