Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Comma Seperated String

Comma Seperated String

Scheduled Pinned Locked Moved C#
xml
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tridith
    wrote on last edited by
    #1

    I have a comma seperated string that I need to be seperated and put into a ArrayList. The string looks like the following: ,-75.91067,45.31986,75.91067 West,45.31986 North,Peter- IT Development,0404000045,{233423},SMTP,27/05/2005 5:20:00 PM,27/05/2005 5:20:07 PM,27/05/2005 17:20:07,Sensors.xml,Y,0,0,0,0,0,0,00000000,01000000,Previous: 0 Current: 0,Previous: 0 Current:1,Previous: 0 Current: 0,Good,0,Pending,Info,Info,,;, Thanks

    R 1 Reply Last reply
    0
    • T Tridith

      I have a comma seperated string that I need to be seperated and put into a ArrayList. The string looks like the following: ,-75.91067,45.31986,75.91067 West,45.31986 North,Peter- IT Development,0404000045,{233423},SMTP,27/05/2005 5:20:00 PM,27/05/2005 5:20:07 PM,27/05/2005 17:20:07,Sensors.xml,Y,0,0,0,0,0,0,00000000,01000000,Previous: 0 Current: 0,Previous: 0 Current:1,Previous: 0 Current: 0,Good,0,Pending,Info,Info,,;, Thanks

      R Offline
      R Offline
      rocky_pulley
      wrote on last edited by
      #2

      ArrayList l = new ArrayList(myString.Split(',')); -- Rocky Dean Pulley

      T 1 Reply Last reply
      0
      • R rocky_pulley

        ArrayList l = new ArrayList(myString.Split(',')); -- Rocky Dean Pulley

        T Offline
        T Offline
        Tridith
        wrote on last edited by
        #3

        Thankyou

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups