splitComma: Split a string along the commas in the string

View source: R/splitComma.R

splitCommaR Documentation

Split a string along the commas in the string

Description

Just a concise way to split a string on the commas. Returning a vector of strings instead.

Usage

splitComma(string_v)

Arguments

String

that will be split

Value

Vector of strings. One element for each section of string that was previously divided by a comma

Examples

myString_v <- c("This,is,a,string")
splitComma(myString_v)

weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.