This page is also available in 3 other languages

concat()

[StringObject Function]

Description

Appends the parameter to a String.

Syntax

myString.concat(parameter)

Parameters

myString: a variable of type String.
parameter: Allowed data types: String, string, char, byte, int, unsigned int, long, unsigned long, float, double, __FlashStringHelper(F() macro).

Returns

true: success.
false: failure (in which case the String is left unchanged).

See also