Código
var a:integer;
begin
for a:=1 to Length(St) do
if(St[a]in['a'..'z'])or(St[a]in['à'..'ý'])then Dec(St[a],32);
Result:=St;
end;
function LowerCase(St:string):string;
var a:integer;
begin
for a:=1 to Length(St) do
if(St[a]in['A'..'Z'])or(St[a]in['À'..'Ý'])then Inc(St[a],32);
Result:=St;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009