A Awei_Ying Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-15 #1 1>.如体 2>.如将字符串“hello”里的字符逐一拆开,分别付给 a,b,c,d,e变量, 使a=h,b=e,c=l,d=l,e=o 先谢了!
C chocolate Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-15 #2 length() 分割的话你一定要有分割符阿,比如: sdata : TStrings; sdesc : String; sdesc := 'a,b,c,d,e'; sdata := TStringList.Create ; ExtractStrings([','],[],Pchar(sdesc),sdata);
length() 分割的话你一定要有分割符阿,比如: sdata : TStrings; sdesc : String; sdesc := 'a,b,c,d,e'; sdata := TStringList.Create ; ExtractStrings([','],[],Pchar(sdesc),sdata);
I iie Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-15 #3 length(s); s[1] s[2] s[3] ...
S SanDao Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-15 #7 s := 'Hello'; a := s[1]; b := s[2]; c := s[3]; d := s[4]; e := s[5];