Learn R Programming

FastUtils (version 0.2.1)

stripSpaces: Remove Spaces from a String

Description

This function removes spaces from a character string.

Usage

stripSpaces(x)

Value

The string with spaces removed.

Arguments

x

A character string.

Examples

Run this code
# Remove spaces from "hello world"
stripSpaces("hello world")

Run the code above in your browser using DataLab