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

strcat(a, b)

Arguments

a

character value.

b

character value.

Value

A character string.

Details

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

Examples

strcat("hello ", "world!")
#> [1] "hello world!"