Replaces multiple underscores into a single underscore in a vector or string.

clean_multiple_underscores(x)

Arguments

x

The vector or string to be cleaned.

Value

cleaned vector or string.

See also

Other vector calculations: academic_year(), interval_round(), month_name(), sum_0_1(), transform_01_to_ft()

Examples

clean_multiple_underscores("hello___world")
#> [1] "hello_world"