Skip to contents

EXPERIMENTAL

Usage

camelCase(x, sep_pattern = "_|\\s")

Arguments

x

a character vector

sep_pattern

a regex pattern to match separators

Value

a character vector that follows camelCase guidelines

Examples

camelCase("foo_bar")
#> [1] "fooBar"