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 {String}: The string to change.
  • returns {String}

Example

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

{{random}}

Generate a random number

Params

  • min {Number}
  • max {Number}
  • returns {Number}

Example

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