str_cat (STRING* string1, STRING* string2)
Appends a copy of string2 to the end of string1.
Parameters:
string1 - target string
string2 - STRING* or char* to be added
Returns:
string1
Modifies:
string1 = string1 + string2
Speed:
Medium
Remarks:
- Source and target strings must not be identical.
-
Either both or none of the strings
must contain Unicode.
Example:
STRING* s = "#30";
...
str_cpy(s,"Hello "); // now s == "Hello "
str_cat(s,"World"); // now s == "Hello World"
See also:
str_cpy, str_cmp,
str_printf, str_clip, str_trunc,
str_stri
► latest
version online