--really newbie-- most frequent character



Hi everyone,

I struggling with java here. Can anyone tell me how to pick up the most
frequent character in a string?
I've browsed the API but I am just lost.

What I intend to do is decrypt a string without a code given? Like
there's a most frequent letter in english which is 'e' so i want to
pick the most frequent letter from the encrypted string and assign it
'e'.

A bit messy, but I hope you get the idea.

Thank you so much!

.



Relevant Pages

  • Re: Detect String Frequency on dynamic entries
    ... string found in a contiguous block of 4784 cells. ... most frequent, 3rd most frequent, etc values. ... Dim cStrings As Collection ... ReDim tempCount ...
    (microsoft.public.excel.programming)
  • Re: Count letter string, e.g. h/EL/p
    ... and the crowning place of kings ... With the string that you are looking for in D1 try: ... of letters "ee". ... I also want to count how frequent a string such as "A, any letter, E" ...
    (microsoft.public.excel.worksheet.functions)
  • Detect String Frequency on dynamic entries
    ... I'm performing a shopping cart analysis (if customers purchase product ... string found in a contiguous block of 4784 cells. ... most frequent, 3rd most frequent, etc values. ...
    (microsoft.public.excel.programming)
  • Re: System.out calls
    ... >Do frequent System.out calls hamper performance? ... It is better to block up a string then output it all at once. ... Canadian Mind Products, Roedy Green. ...
    (comp.lang.java.programmer)