Bueno, no debería ser muy difícil crearla....
Código Delphi
[-]
function Repeticiones(const cadena:String; const ch:Char):Integer;
var
i, Count:Integer;
begin
Count := Length(cadena);
Result := 0;
for i := 1 to (Count) do begin
if(cadena[i]=ch) then begin
Result := Result + 1;
end; end; end;
...o parecida...