toString(): return type from char* to string