Convert a camel case string to snake case

camelCaseToSnakeCase(string)

Arguments

string

The string to be converted

Value

A string

Examples

camelCaseToSnakeCase("exposureConceptId1")
#> [1] "exposure_concept_id_1"