5

I want to show the number of search results that are going to appear in the table, is there a way to show the number of elements or do you have to compute it, ie I want to show something like this:

Found $results.size$ result$if(rest(contacts))$s$endif$.

The "s" correctly shows when there is more than one search result, but the $results.size$ returns nothing. Not sure if it matters, but im using Java, so its a List thats being passed in.

Jay
  • 19,649
  • 38
  • 121
  • 184

1 Answers1

5

Found the answer, there is a length() function, ie:

Found $length(results)$ result$if(rest(contacts))$s$endif$.
Jay
  • 19,649
  • 38
  • 121
  • 184