函式功能,函式說明, 函式功能取出字元串中的漢字函式說明function WideStr(str:string):String; //取出字元串中的漢字var I: Integer;beginfor I := 1 to Length(WideString(Str)) doif Length(string(WideString(Str)[I])) = 2 thenresult:= result + WideString(Str)[I];end;