Articles in this section

trimLeft helper

Removes only leading whitespace from a string, leaving trailing whitespace unchanged. Use it when you need to clean up values that may have extra spaces at the beginning.

Usage

{{trimLeft value}}
  • value (required): input string

Examples

  1. Remove spaces from the start of a string

    {{trimLeft record.text}}
    

    Input:

    { "record": { "text": "   ABC " } }
    

    Output:

    "ABC "
    

Tip

  • Only leading whitespace is removed; trailing whitespace remains intact.

  • Use this helper when importing or exporting values where trailing spaces are meaningful but leading spaces should be discarded.

  • Pair with trimRight if you need to remove trailing whitespace as well.