定義一個SplitStr函數
function TForm
var
text: String;
i
begin
text :=
i :=
while i <= Length(str) do
begin
if ByteType(str
Count :=
else
Count :=
text := text + GetSpell(copy(str
i := i + count;
end;
Result := text;
end;
right
From:http://tw.wingwit.com/Article/program/Delphi/201311/24831.html