Strings Delphi

Title: strings with more than 255 characters
use this
variablename : AnsiString;
not
variablename : String;