String.concat()

Description

Appends the parameter to a String.

Syntax

myString.concat(parameter)

Parameter Values

  • 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).

Return Values

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

See Also

Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.