swapCase

Swaps the case of each letter in a string.

Arguments

  • string - The string to swap the case of.

Example

{
  "$template": {
    "$comment": "The field below will be 'tHIS IS A TEST'",
    "test": "{{swapCase('This is a test')}}"
  }
}