www.webdeveloper.com
Results 1 to 2 of 2

Thread: Extract data from csv file with different permutation

  1. #1
    Join Date
    Jan 2014
    Posts
    10

    Exclamation Extract data from csv file with different permutation

    Hello,

    I have a issue to extract csv data with different permutation.
    Below are the conditions:

    TO extract csv file,1 row as one sentence
    To extract csv file data as one row data which has four coulmns combination as one sentence.
    To extract csv file data as first row column combining with 2nd column of 2nd row(Permutation).
    eg: I have 4 row with 4 coulmns. After csv data extraction, each row should should form a sentence by combining its 4 column fields. But may be with different permution each rows first coulmn should combine with rest of the 3 rows 2nd columns.
    A B C D
    E F G H
    I J K L

    So the result should be as: AFCD, AJCD, ABCD and son on.

    Extracting csv data code is ready all I want to add permutation condition.
    Any help is appreciated.

  2. #2
    Join Date
    Mar 2012
    Posts
    1,495
    Your example does not match the description of the permutation you are seeking to achieve. Nor is the description of the permutation complete. Please clarify exactly how the permutation is intended to go.

    The starting point should be:

    A B C D
    E F G H
    I J K L
    M N O P

    From your description the sequence should go:

    A F G H
    E J K L
    I N O P
    M B C D

    But then what?

    A J K L etc...

    or perhaps

    A F K L etc...

    You have not described the sequence adequately...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles