Results 1 to 11 of 11

Thread: [RESOLVED] Generate set of words from a sentense

Threaded View

  1. #1

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695

    Resolved [RESOLVED] Generate set of words from a sentense

    Hi,

    Not sure how to describe this but I need quick help with some code. Generally I do this easily but this must be one of those days after a long and heavy weekend.

    Given a sentence, "This is test statement"; I need to produce a list of words in the combination like shown below.

    this
    this is
    this test
    this statement
    this is test
    this is statement
    this is test statement

    Cheers
    Last edited by wrack; Aug 12th, 2014 at 06:31 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width