Cldr v0.8.3 Cldr.String View Source

Functions that operate on a String.t that are not provided in the standard lib.

Link to this section Summary

Functions

This is the code of Macro.underscore with the following modifications which will be submitted as a PR when its clear it working appropriately

Link to this section Functions

This is the code of Macro.underscore with the following modifications which will be submitted as a PR when its clear it working appropriately

The change is to cater for strings in the format:

This_That

which in Macro.underscore get formatted as

this__that (note the double underscore)

when we actually want

that_that