把pchar转换为string可用strpas(pchar),把string转换为pchar可用pchar(string)如:a:string;b:pchar;a:=strpas(b);b:=pchar(a);