I use the Dojo Toolkit number / parse functions to handle formatting and parsing strings using ICU template syntax pretty heavily.
Does anyone know that you can take an arbitrary string of the ICU template and somehow use the Dojo library (or another) to decompose it into parts (for example, for a number template, it can be decomposed into the number of decimal places, a group of thousands, etc. .d ...).
I hope to do this without requiring my code to understand ICU template syntax well.
It doesn't seem like it's available through the standard Dojo APIs, but maybe someone knows any support for this elsewhere?
source share