toString_to_character: Split a long delimted string into individual strings.

Description Usage Arguments Value Examples

View source: R/toString_to_character.R

Description

Usually helpful in setting extracted levels.

Usage

1
toString_to_character(string, sep = ",", stripWhitespace = TRUE)

Arguments

string

Long string with delimters, may be output of 'toString'.

sep

delimiter. Default is ",".

stripWhitespace

Whether to trim whitespace on both sides of resulting strings.

Value

A string.

Examples

1
2
3
concat <- toString(colnames(iris))
print(concat)
toString_to_character(concat)

talegari/sidekicks documentation built on Sept. 26, 2018, 4:18 p.m.