Click here to Skip to main content
15,896,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: Starting programming at age 28 Pin
peterchen11-Jan-09 14:30
peterchen11-Jan-09 14:30 
AnswerRe: Starting programming at age 28 Pin
Jörgen Andersson10-Jan-09 22:03
professionalJörgen Andersson10-Jan-09 22:03 
AnswerRe: Starting programming at age 28 Pin
Christian Graus11-Jan-09 4:59
protectorChristian Graus11-Jan-09 4:59 
AnswerRe: Starting programming at age 28 Pin
Zhat12-Jan-09 2:22
Zhat12-Jan-09 2:22 
QuestionString Operations Pin
wasifmuneer10-Jan-09 7:34
wasifmuneer10-Jan-09 7:34 
AnswerRe: String Operations Pin
DaveyM6910-Jan-09 7:57
professionalDaveyM6910-Jan-09 7:57 
GeneralRe: String Operations Pin
wasifmuneer10-Jan-09 8:00
wasifmuneer10-Jan-09 8:00 
GeneralRe: String Operations Pin
DaveyM6910-Jan-09 8:18
professionalDaveyM6910-Jan-09 8:18 
Your best bet is to examine the particular overload you want in the .NET source[^] and recreate that method with the following alterations.

Create and initialize a List<string> field (eisier than an array as it's dynamic). Everytime a split occurs, check if the list contains that character and if not add it. Give the method a string[] out parameter so you can return the extra data. At the end of the method before you return, call the list's ToArray method and pass the value to the out.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 8:36
sitebuilderLuc Pattyn10-Jan-09 8:36 
GeneralRe: String Operations Pin
DaveyM6910-Jan-09 8:43
professionalDaveyM6910-Jan-09 8:43 
GeneralRe: String Operations Pin
wasifmuneer10-Jan-09 8:56
wasifmuneer10-Jan-09 8:56 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 9:03
sitebuilderLuc Pattyn10-Jan-09 9:03 
GeneralRe: String Operations Pin
Dewald10-Jan-09 9:08
Dewald10-Jan-09 9:08 
GeneralRe: String Operations Pin
Judah Gabriel Himango10-Jan-09 11:53
sponsorJudah Gabriel Himango10-Jan-09 11:53 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 12:18
sitebuilderLuc Pattyn10-Jan-09 12:18 
GeneralRe: String Operations Pin
Guffa10-Jan-09 17:20
Guffa10-Jan-09 17:20 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 17:24
sitebuilderLuc Pattyn10-Jan-09 17:24 
AnswerRe: String Operations Pin
Guffa10-Jan-09 17:23
Guffa10-Jan-09 17:23 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 17:39
sitebuilderLuc Pattyn10-Jan-09 17:39 
GeneralRe: String Operations Pin
Guffa10-Jan-09 17:50
Guffa10-Jan-09 17:50 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 18:00
sitebuilderLuc Pattyn10-Jan-09 18:00 
GeneralRe: String Operations Pin
Guffa10-Jan-09 18:38
Guffa10-Jan-09 18:38 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 19:01
sitebuilderLuc Pattyn10-Jan-09 19:01 
AnswerRe: String Operations Pin
#realJSOP11-Jan-09 0:26
professional#realJSOP11-Jan-09 0:26 
QuestionChilkat (.NET) components? Pin
Ravi Bhavnani10-Jan-09 5:35
professionalRavi Bhavnani10-Jan-09 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.