ConvertCommaSeparatedStringToVector: 'ConvertCommaSeparatedStringToVector'

View source: R/utilites.R

ConvertCommaSeparatedStringToVectorR Documentation

ConvertCommaSeparatedStringToVector

Description

Converts a string containing commas into a vector, trimming whitepaces along the way.

Usage

ConvertCommaSeparatedStringToVector(string, split = ",", text.qualifier = NULL)

Arguments

string

A character to be converted.

split

A character vector containing regular expressions to be used in splitting. Where multiple entries are in the vector they are recycled along the vector of string (i.e., they are not all used as delimiters).

text.qualifier

A character that is placed at the start and end of text (after the start split and before the end split), so that it is never split even if it contains the split character.

Value

A vector of characters.


Displayr/flipU documentation built on March 2, 2024, 4:35 a.m.