I try to convert string value to char array. I write below code but get error that
[Error] Unit1.pas(35): Record, object or class type required
on this line section a := s.ToCharArray;
procedure TForm1.Button1Click(Sender: TObject);
var
a: array of char;
s: String;
begin
s:= Edit1.Text;
a := s.ToCharArray;
end;
What is problem?