K kingqc Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-31 #1 我有一个这样的string'年龄,姓名,'我如何去掉最后一个逗号? 急,急
吴 吴剑明 Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-31 #2 if str[length(str)] = ',' then delete(...)
X xueminliu Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-31 #3 if str[length(str)] = ',' then str:= copy(str,1,length(str)-1)
浪 浪里白条 Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-31 #4 var I:integer; s:=string; ............ ............ begin i:=length(str)-1; s:=str; setlength(s,i); end;
var I:integer; s:=string; ............ ............ begin i:=length(str)-1; s:=str; setlength(s,i); end;
S sluger Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-31 #5 s:= copy(mystring,1,length(mystring)-1)