Learn R Programming

sorvi (version 0.7.20)

strip: strip string i.e. remove spaces from the beginning and end

Description

strip string i.e. remove spaces from the beginning and end

Usage

strip(s)

Arguments

s
string or character vector

Value

  • stripped string

References

See citation("sorvi")

Examples

Run this code
strip(c("s ", "a"))

Run the code above in your browser using DataLab