Learn R Programming

sorvi (version 0.7.20)

strstrip: Remove spaces from a string (single string or vector/list of strings).

Description

Remove spaces from a string (single string or vector/list of strings).

Usage

strstrip(s)

Arguments

s
string or vector/list of strings

Value

  • string without spaces

References

See citation("sorvi")

Examples

Run this code
strstrip("a b") # returns "ab"

Run the code above in your browser using DataLab