首页 > 代码库 > Delphi PChar与String互转

Delphi PChar与String互转

1.String转化成PChar例:var  str: string;  pStr:PChar;...pStr := PChar(str); 2.PChar转String例:var  pStr:PChar;  str:string;...str := strPas(pStr);

Delphi PChar与String互转