Learn R Programming

nanonext (version 0.13.2)

strcat: Concatenate Strings

Description

A fast implementation that combines two character values into a single string.

Usage

strcat(a, b)

Value

A character string.

Arguments

a

character value.

b

character value.

Details

If either 'a' or 'b' is a vector of length greater than 1, only the first element of each is concatenated.

Examples

Run this code
strcat("hello ", "world!")

Run the code above in your browser using DataLab