Tente isso
type StringArray = array of string;
procedure StringToArray( S : string; var MyArray : StringArray);
var
i, n : integer;
begin
if S = '' then
Raise Exception.Create( 'O Parâmetro S deve conter algum valor para ser
utilizada');
SetLength(MyArray, 0);
for i := 1 to length(S) do
begin
n := Length(MyArray);
SetLength(MyArray, n+1);
MyArray[n] := S[i];
end;
end;
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos Eduardo Menezes
Sent: Monday, December 01, 2008 11:25 AM
To: [email protected]
Subject: [delphi-br] String to Array of Char ...
Boa tarde pessoal, gostaria de saber se alguem de vocês conhece uma
função que converta uma string num array de char, ou mesmo algumas de
dicas de como eu posso fazer uma.
Conto com a ajuda de vocês e obrigado desde já!!
CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended
recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please
contact the sender by reply email and destroy all copies of the original
message.
[As partes desta mensagem que não continham texto foram removidas]