function TForm1.SplitStr(str: string): string;
var
text: String;
i, Count: Integer;
begin
text := '';
i := 1;
while i <= Length(str) do
begin
if ByteType(str, i) = mbSingleByte then
Count := 1
else
Count := 2;
text := text + GetSpell(copy(str, i, count));
i := i + count;
end;
Result := text;
end;
1785



被折叠的 条评论
为什么被折叠?



