Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert string to array of char

Status
Not open for further replies.

ahhchu

Programmer
Sep 19, 2001
38
0
0
US
Is there a simple way ot convert a string to a array of char?

var
a: string;
b: array [0..24] of char;

is there a way to get the equivalent:

b:= a; // ??

Thanks
 
think I solved my own prob

Move (a[1],b[0],length(a));

think this does it.... thanks to anyone that looked...
 
try



var
a:string;
b:array [1..24] of char;
i:word;


...

for i:=1 to 24 do
b:=a


Laurent.

;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top