Add method to append a C string