split_str: Split a character vector of length 1 into several elements

Description Usage Arguments Value Examples

View source: R/Common.R

Description

Split a character vector of length 1 into several elements

Usage

1
split_str(string, separator = " ")

Arguments

string

a character vector of length 1.

separator

a character vector on which to split the string parameter. By default, " ".

Value

a character vector.

Examples

1
2
split_str("Hello world!")
# [1] "Hello"  "world!"

StatCan/EpiSim documentation built on Dec. 18, 2021, 2:09 p.m.