Learn R Programming

healthcareai (version 1.2.4)

getPipedValue: Grab number after single pipe in pipe-delimited string

Description

For a given string with a pipe, return the number that comes after the pipe

Usage

getPipedValue(string)

Arguments

string

A string with a pipe

Value

A number from the original string

See Also

healthcareai findVariation createVarianceTallTable

Examples

Run this code
# NOT RUN {
res <- getPipedValue('hello|23')
res
# }

Run the code above in your browser using DataLab