StubbleOrg / Stubble

Trimmed down {{mustache}} templates in .NET
Other
399 stars 58 forks source link

How to count number of variables in a template ? #143

Open bulldozR opened 1 year ago

bulldozR commented 1 year ago

How can I count the number of variables in a template ?

For example, I would like to know that there a 2 variables in the template below : Hello {{name}}, you are {{age}} years old.