Skip to contents

Removes period from the ICD-10 code if it exists

Usage

remove_period(x)

Arguments

x

A valid ICD-10 code with a dot

Value

A valid ICD-10 code without a dot included

Examples

remove_period("F32.0")
#> [1] "F320"

remove_period("F32")
#> [1] "F32"