str2list: Convert a character string to list of character vectors

View source: R/rmd.util.r

str2listR Documentation

Convert a character string to list of character vectors

Description

In the character string, '|' separates items inside a vector; '||' separates vectors.

Usage

str2list(x)

Arguments

x

(character) a character string

Value

(list of character vectors)

Note

This is an internal function used in rmdTable so that header and footer can accept character string.

See Also

rmdTable

Examples

str2list("A | A | C | C || A | A | C1 | C2")

blueskypie/wfr documentation built on Feb. 6, 2024, 4:38 p.m.