Hi All,
Coming from a C background and char*, I'm still getting used to using AnsiString. How can you append (concatenate) another ansistring onto one that has a NULL as its last character ?
ie
String name1 = "FRED ";
String name2 = "BLOGGS";
String name3 = name1 + name2;
Of course name3 = FRED BLOGGS;
BUT if the last char in name1 is NULL (\0) it will not work !!
Any ideas ??
Steven matthews
Coming from a C background and char*, I'm still getting used to using AnsiString. How can you append (concatenate) another ansistring onto one that has a NULL as its last character ?
ie
String name1 = "FRED ";
String name2 = "BLOGGS";
String name3 = name1 + name2;
Of course name3 = FRED BLOGGS;
BUT if the last char in name1 is NULL (\0) it will not work !!
Any ideas ??
Steven matthews