Function catStr

Concatenates two strings to a new string in unmanaged memory

string catStr (
  string s1,
  string s2
);

Example

auto str1 = "hello";
auto str2 = " world";

auto cat = catStr(str1, str2);
assert(cat == "hello world");
Delete(cat);