M microwave Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-07 #1 如何将 string 型 转换为 char 型?
W wjiachun Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-07 #2 c:char; s:string; c:=s[1]; c:=s[2];……
W WebBar Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-07 #3 BCB: szStr.c_str(); Delphi: StrPCopy();
Z zouming Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-09 #6 var s1:String; s2char; s2:=PChar(s1);
侠 侠客 Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-09 #7 char?我看你是想要pchar吧! var a:String; bchar; begin b:=PChar(a); a:=strpas(b); end.
张 张剑波 Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-09 #8 wjiachun 的非常正确。 别望了 length(string)算算长度。