function ValidateName(n: string): string; var banned, res: string; i,j: integer; begin res:= n; banned:= ‘\/:*?"<>|‘; for i:= 1 to Length(res) do for j:= 1 to Length(banned) do if res[i]=banned[j] then res[i]:=‘ ‘; Result:= res; end;
标签:sans body int result ansi nbsp pre validate div
function ValidateName(n: string): string; var banned, res: string; i,j: integer; begin res:= n; banned:= ‘\/:*?"<>|‘; for i:= 1 to Length(res) do for j:= 1 to Length(banned) do if res[i]=banned[j] then res[i]:=‘ ‘; Result:= res; end;
标签:sans body int result ansi nbsp pre validate div
原文地址:https://www.cnblogs.com/westsoft/p/8449593.html