Results 1 to 5 of 5
  1. #1
    somnath6088 is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Default longest word present in a string

    Write a program to find and print the longest word present in a string
    Input:Today is Holiday
    Output:Holiday

  2. #2
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    5

    Default

    This isn't a homework service. Show some effort before you ask for help.

  3. #3
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    Yup, you're probably looking for rentacoder. If you'd show your attempt at solving the problem, and ask specific questions, we'll be able to help.
    Ever seen a dog chase its tail? Now that's an infinite loop.

  4. #4
    Lund01's Avatar
    Lund01 is offline Senior Member
    Join Date
    Sep 2010
    Location
    The Netherlands
    Posts
    149
    Rep Power
    0

    Default

    I have seen many homework question here, but this one is more like:
    WRITE THIS!
    There is not even a question.....

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    somnath6088, please keep in mind that the idea of a forum is helping each other to solve there problems, not a place to get your homework done. Show us your effort over here and if you stuck on anything ask the question in details as much as possible.

Similar Threads

  1. String builder scramble word game
    By moncur in forum New To Java
    Replies: 4
    Last Post: 10-22-2010, 04:14 AM
  2. Longest word in a program...
    By hustlas4ever in forum New To Java
    Replies: 5
    Last Post: 08-20-2010, 02:34 PM
  3. Finding and storing a word from a string builder
    By ao241 in forum Advanced Java
    Replies: 3
    Last Post: 06-28-2010, 01:46 PM
  4. Find index position of every word in a String
    By pentace in forum New To Java
    Replies: 6
    Last Post: 06-28-2009, 09:26 PM
  5. java longest word in array
    By mayhewj7 in forum New To Java
    Replies: 10
    Last Post: 04-24-2009, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •