Skip to contents

Convert a string to a valid HTML ID

Usage

nm_to_id(x)

Arguments

x

chr

Value

chr

Examples

nm_to_id("A random string")
#> [1] "a_random_string"