|
||||||
| C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I have a string that has values seperated by commas. Is there a way in C# to get those values or has anyone made an easy function that will do this for me?
The string looks like this value1,value2,value3,value4 and so on. I'd like to have each value so that I can do other functions based on the value. |
| Sponsored Links |
|
|
|
|||
|
System.String.Split is what you want.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help in counting a specify character in a string. | lichy | Perl | 2 | 06-27-2007 10:03 PM |
| [Help] String manipulation. | afiser | Visual Basic Programming | 1 | 05-31-2007 03:24 PM |
| string problem | Nille | C and C++ | 2 | 05-03-2007 07:25 AM |
| Is string in array? | smith | Perl | 2 | 02-14-2007 01:30 PM |
| Sudoku can be solved using SQL..Take a look! | roger | Database & Database Programming | 5 | 07-04-2006 02:20 PM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 66%