Thanks for the help about the length of AnsiString. Yes, I ment the = AnsiString in C++Builder. /Anders