Reference   Language | Libraries | Comparison | Changes

String

concat()

Description

Appends the parameter to a String

Syntax

string.concat(parameter)

Parameters

parameter: Allowed types are 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).

Example

See also

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share