Bases - Create length functions for strings and lists in Bases syntax

Use case or problem

I’d like to be able to do two things:

  1. Sort or filter by the number of tags on a given note
  2. Sort or filter by the length of the note title

Proposed solution

Create two functions:

  • string.length()
    • This would count the number of characters in a string
  • list.length()
    • This would count the number of elements in a list

Both of these functions would work very well with the existing functions to expand the sorting and filtering capabilities.

Current workaround (optional)

I was unable to find or come up with one from what I could see in the functions list.

both are already available.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.