B breezepine Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-21 #1 'ABC_123' 如何转换成'ABC-123'?
T truecat Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-21 #3 var i:integer; a:string; a:='ABC_123'; for i:=1 to length(a) do if a='_' then a:='-';
L linsb Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-21 #4 str := stringreplace('ABC_123', '_ ', '-', [rfReplaceAll]);