+ Reply to Thread
Results 1 to 3 of 3

parsing string based on multiple delimiters

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2005
    Posts
    1

    parsing string based on multiple delimiters

    Hello all,
    I need some help with parsing a string based on several delimiters, and place them in to arrays.

    Here is an example string that needs to be parsed
    "A:Test,Test2; B:Sample, Sample2;C:Toparse1, Toparse2"
    This string must be parsed via ( : , ; )and put into two Arrays labeled Impact, System
    The resulting set should look like

    Impact System
    A Test
    A Test2
    B Sample
    B Sample2
    C Toparse1
    C Toparse2

    Clarification: each Impact is separated by ; and within each impact system is separated by ,
    The System name has a : as you can see from the string.


    Any help would be greatly appreciated... Thanks!!

    Michael Chang

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: parsing string based on multiple delimiters

    Try this. Assumes data in A and puts results in K&L:
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: parsing string based on multiple delimiters

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1