Looking for duplicated words

please help me to do this problem
to read a sequence of strings looking for duplicated words. The program should find places in the input where one word is followed immediately by itself . keep track of the largest number of times a single repetation occurs and which word is repeated . Print the maximum number of duplicates or else print the message that no word was repeated
eg: how cow now now how cow cow now
the output:
now occurs 3 times

This has nothing to do with JSF. Try the "New to Java" forum. Or if you can put the effort yourself, read on the String API and about the Collections framework.

Similar Messages

  • I am looking for a word processing app

    I am looking for a word processing app that I can use for sending .doc and .docx format papers via email or uploading them to websites directly from my ipad 2 without having to export them to or sync them with my actual computer.  Does the Pages app allow users to do this?  I need to make a purchase of such an app soon.  If this app is incapable of these actions, can anyone suggest an app or design an app for me that does them?

    Pages can export documents in MS Word format. When I last did this (with Pages '09, the Mac version), the result was a .doc file.
    Note that this is a translation, and like most translations, it's not always a perfect one. Some features of Pages are not supported in MS Word, and some Word features are not supported in Pages.
    For a more precise answer wrt Pages for iOS, you should repost your question in the iWork For iOS community. The link will take you there.
    Regards,
    Barry

  • Looking for a word processor app

    I am looking for a word processing app that I can use for sending .doc and .docx format papers via email or uploading them to websites directly from my ipad 2 without having to export them to or sync them with my actual computer.  Does the Pages app allow users to do this?  I need to make a purchase of such an app soon.  If this app is incapable of these actions, can anyone suggest an app or design an app for me that does them?

    Pages, Documents To Go, Quick Office. For further information, check the "More Like This" box to the right.

  • Looking for a word processor without word wrap, text edit doesn't cut it

    I'm looking for a word processor without word wrap, text edit doesn't work. In text edit, it automatically scoots my text over to the next line but I just want it to keep going with a horizontal scrollbar. Is there a text editor I can download from the app store or can I get textedit to work somehow where it uses a horizontal scroll bar instead of entering text to the next line?

    Hi,
    thought TextWrangler can do it.
    But it seems that the 'no word-wrap' "feature" isn't that much wanted anymore.
    Maybe one of these http://www.macupdate.com/find/mac/text%20editor can do it.
    Regards
    Stefan

  • Does a Time Machine backup capture unsaved Word Documents? I am looking for a Word Document that I am guessing I deleted though I think it was open when I was doing a backup.

    Does a Time Machine backup capture unsaved Word Documents?
    I am looking for a Word Document that I am guessing I deleted though I think it was open when I was doing a backup.

    If you didn't save the document it would not be on your hard drive and therefore not copied via Time Machine.

  • Looking for ipad word processor

    I recently purchased an ipad 2 (32G AT&T version) and had a question about word processors. I am looking for a word processor for the ipad that will open, compose and save documents in ODF and all the major Word formats. Something like Bean which I use a lot on my MacBook Pro . I have also used Pages on my MacBook Pro and installed it on my ipad and it is great for some things but will not open ODF docs and will not save in all Word formats. I also installed GoodReader on the ipad which opens almost everything but it seems I cannot compose a document using GoodReader (maybe I have the wrong version--don’t know). I looked at QuickOffice but I have no use for the presentation and spreadsheet apps that come with it and would rather not load the ipad with too many things. Any suggestions would be appreciated. Thanks in advance.

    I am sorry to tell you. I had done a lot of searches in different search engine, the answer is no. There is not an App support ODF edition for iPad.
    I got another news which Google may promot the new Google Document to support ODF in future, even through this is a rumor, but you may keep an eye on it. And you would be able to edit ODF online through Google Document.
    Finger cross.

  • I have new ipadmini.. Is there an APP for word processing? Looked for Microsoft Word but couldn't find it

    Looking for word processor for ipad mini

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Looking for a word in a string

    Hi,
    by this code
    utl_file.get_line(vInHandle, vNewLine);
    DBMS_OUTPUT.ENABLE(10000);
    DBMS_OUTPUT.PUT_LINE(vNewLine);
    I can the read the lines from a file and display them.
    I whish to display them if and only if there is "ORA-" expression in them. How can I do that ? In other words how to find if "ORA-" exists in a string ?
    Many thanks before.

    The Oracle manuals are all online at
    http://tahiti.oracle.com
    If you search for INSTR, you'll get to this page
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions068.htm#SQLRF00651
    which explains how to use that function, i.e.
    IF INSTR( some_string, 'ORA-' ) != 0
    THEN
      <<string contains ORA->>
    END IF;Justin

  • Looking for a Word Perfect app to open a .wpd document

    Anybody know of an app that could do this for me? I have both Applworks 6 and MacOffice 2004. Thanks!
    Matt

    Matt,
    NeoOffice will open .wpd files.
    Ernie

  • Looking for free Software Demonstrations

    NEWSTART INSTITUTE
    We would like to make available for free, courses on how to
    use office software. We are planning to offer free bookkeeping,
    secretarial and other diploma programs. Our program can be viewed
    at www.educationfree.org . We are mainly looking for Windows, Word,
    Excel, Explorer, Outlook Express, and other office utility
    software. We are also interested in their free counterpart like
    Open Office etc. We would greatly appreciate any referrals to such
    software. We would then ask permission to use the original work and
    we would incorporate it in a full course on how to use the
    software.
    If you have written yourself such software or if you know of
    a web site that offers this software for free, we would greatly
    appreciate a reply.

    Hi Lulu
    Nice of you to do this. Unfortunately, I personally do not
    understand Chinese. I have a huge respect for anyone that is able
    to understand multiple languages!
    One small suggestion based on what I saw. You might want to
    change all instances of "Macromedia" to reflect "Adobe".
    Good luck with your forum! Rick

  • Looking for Work Bench

    Hi SAP Gurus,
    I am looking for the word work bench in SAP, can any body tell me that what is it? In SAP whit is the use of it .
    Regards,
    Pavan.

    Dear Pavan
    Check this help link
    [ABAP Workbench|http://help.sap.com/saphelp_47x200/helpdata/en/d1/8018d1454211d189710000e8322d00/frameset.htm]
    thanks
    G. Lakshmipathi

  • What is the best free download for a word program?

    i am looking for a word program to download for free

    NeoOffice or its close cousin OpenOffice. Of the two NeoOffice is the fastest and has the best integration with OS X, but they use the same open source kernel. Either is a full office suite capable of reading or writing Microsoft Office files as well as their own open document format files. The suite includes word processing, spreadsheet, presentation, database, and drawing capability. NeoOffice is now donation ware and available through the App Store for $9.99.

  • I blog on TypePad using Word 2007 and documents freeze when I'm looking at them in Windows explorer; why do I get the error message that Mozilla is looking for a script?

    I have now had two error messages - the first one looked for this script: Script: resource://gre/modules/XPCOMUtils.jsm:258. The second one (today) looked for Script: resource://gre/components/nsPrompter.js:68.
    I have reset my word template, also reset word registry for data and options (as per Microsoft's help pages) for both those 'fixes' there was an initial improvement, but the problem happened again after I reposted on my blog today and then went to Windows explorer to view my files. It seems to 'seize' as I select a file, so that the preview does not appear (for up to 15-20mins).
    I see on the internet using the second script as a search just now that one other has had a similar problem and one also since Mozilla 4 upgrade. My problems have also been pretty much since I upgraded.
    It happens (apart from my fixes) every time I go to look at a word document via Windows explorer. Excel files are less affected.
    One web suggestion is to clear the cache, but I am hesitant to lose all my passwords unless I have to.

    I still have the problem although I uninstalled Mozilla (clearing the cache didn't work and neither did Word diagnostics), so have ended up thinking it could be Norton (the manual update worked x1) or Windows. Today I found an answer: disable the preview pane in Windows Explorer - there's a history of problems with this view.

  • Need an app to edit and sign word documents (sign with stylus)! Notability let's me sign but doesn't pull up letter head, quickofficepro let's me edit but not sign. Looking for an app that does both

    I am looking for an app where I can edit word documents as well as sign them.  I am a physical therapist whose looking to cut down on paper work.  Someone types my evaluations and then we print them out for me to edit by hand and then they go back and make the corrections on the computer then w print them and sign them to send off.  Recently I have begun using apps where I can pull up the document and edit it thru quickofficepro or through cloudon, but I cannot sign them using a stylus pen.  I also have notability which I can use to sign the documents, but it doesn't save the document as a doc, it's either a PDF or rtf. Also, in notability, it doesn't pull up the letter head for our company which is a template with our logo on it.  So I need an app where I can both edit and sign my documents by hand using a stylus.  If someone could provide me with any relevant information I would greatly appreciate it.  Thank you for your time.

    Hi,
    Pages for Mac OS X, the topic discussed in this community won't do it.
    I think you'll have a better chance for a useful answer in either the Using iPad or the iPad in the Enterprise community.
    Regards,
    Barry

  • I am looking for an app that will transcribe talking words into written words.  I have no idea where to look

    I am looking for an app that will transcribe talking words on a cd into written words in a file.

    Give Dictation a try.

Maybe you are looking for

  • How to get rid of tap to click delay in MacBook Pro

    Does anybody have any suggestions for getting rid of this delay? When i tap, i have to wait likely .5 sec to open any folder or link.

  • Release Procedure with materia No. as characterstic.

    hi SAPERS, I am trying to put Release procedure for P.R. by keeping Material No, Plant, Purchase Group as characterstics. When I assign the Plant, Purchase Group charactersic to Class the Release Procedure is working fine. By instanct I assign the Ma

  • Combine report list for SAP-PP module

    Respected SAP GURU,s Can any body give me the combined report list of SAP-PP modules or give some direction to search it. SFC route is not required... pl reply urgently Rewards point will be given. VEDANT

  • What do colors mean for object type in Business Object Repository browser?

    Hi, I am a new guy in SAP. I have a question. The object typies in BOR browser, there are kinds of colors, blue, light blue, pink, red,.. And also, for some object type, there is check mark beside them. What do these mean? Thank you for your help.

  • No wireless on Mac Mini

    I've had my mac mini since may with no wireless capability. I have the airport extreme card w/bluetooth. I have a Netgear MR814V2 wireless router. I am using an RCA cable modem w/comcast internet service. I am able to access the internet via cable, b