excess_comma: Remove excessive comma

Description Usage Arguments Value Examples

View source: R/RecodeR.R

Description

This function is to remove any trailing, leading as well as consecutive comma in between.

Usage

1

Arguments

vector

character vector with excessive comma

Value

character vector without excessive comma

Examples

1
excess_comma(c(",,1,,,2,,3,,,"))# "1,2,3"

momo3246/recode documentation built on Sept. 30, 2020, 2:14 p.m.