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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Stupid question

Stupid question

Scheduled Pinned Locked Moved C#
questiondata-structureshelp
5 Posts 3 Posters 1 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.
  • M Offline
    M Offline
    Muammar
    wrote on last edited by
    #1

    But please help:-O

    string fullString = @"value1;value2;value3";
    string []arString = //how can I split and store the first fullString here as an array of values
    

    Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

    S S 2 Replies Last reply
    0
    • M Muammar

      But please help:-O

      string fullString = @"value1;value2;value3";
      string []arString = //how can I split and store the first fullString here as an array of values
      

      Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

      S Offline
      S Offline
      SakthiSurya
      wrote on last edited by
      #2

      Hi, string[] arString=fullString.Split(';'); This will split your string. Sakthi

      M 1 Reply Last reply
      0
      • M Muammar

        But please help:-O

        string fullString = @"value1;value2;value3";
        string []arString = //how can I split and store the first fullString here as an array of values
        

        Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

        S Offline
        S Offline
        subrata jana
        wrote on last edited by
        #3

        string[] arString = fullString.Split(';');

        M 1 Reply Last reply
        0
        • S SakthiSurya

          Hi, string[] arString=fullString.Split(';'); This will split your string. Sakthi

          M Offline
          M Offline
          Muammar
          wrote on last edited by
          #4

          I knew that was a terribly stupid question to ask:-O Thanks Sakthi:rose:


          Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

          1 Reply Last reply
          0
          • S subrata jana

            string[] arString = fullString.Split(';');

            M Offline
            M Offline
            Muammar
            wrote on last edited by
            #5

            Thank you:-O


            Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

            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