company logo

String :: concat - Concatenates two specified instances of String.

The function concatenates the two strings cString1 and cString2 by first assigning cString1 to the calling string and than appending cString2. This way the coding type of the concatenated string is the coding type of cString1. If cString1 has no defined coding type, the coding type is taken from cString2.

Return value:  String object ( odaba::String & )

Implementation details

odaba::String & String  :: concat ( odaba::String &cString1, odaba::String &cString2 )
  • cString1 - Constant string value
  • cString2 - Constant string value