Click here to Skip to main content
15,885,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to remove characters from string value Pin
PIEBALDconsult23-Jan-11 6:37
mvePIEBALDconsult23-Jan-11 6:37 
GeneralRe: How to remove characters from string value Pin
Not Active23-Jan-11 6:05
mentorNot Active23-Jan-11 6:05 
GeneralRe: How to remove characters from string value Pin
RaviRanjanKr23-Jan-11 6:12
professionalRaviRanjanKr23-Jan-11 6:12 
GeneralRe: How to remove characters from string value Pin
ShilpaKumari23-Jan-11 5:38
ShilpaKumari23-Jan-11 5:38 
GeneralRe: How to remove characters from string value Pin
RaviRanjanKr23-Jan-11 5:43
professionalRaviRanjanKr23-Jan-11 5:43 
GeneralRe: How to remove characters from string value Pin
Not Active23-Jan-11 6:00
mentorNot Active23-Jan-11 6:00 
GeneralRe: How to remove characters from string value Pin
PIEBALDconsult23-Jan-11 6:44
mvePIEBALDconsult23-Jan-11 6:44 
GeneralRe: How to remove characters from string value-[Minor Changes] Pin
RaviRanjanKr25-Jan-11 4:38
professionalRaviRanjanKr25-Jan-11 4:38 
I have done Minor changes in my answer

string str = "abc, d.e f,g h,i. j,k";
           string[] arr = str.Split(',', '.'); // remove all , and .
           str = string.Empty;    // Changes here
           foreach (string str1 in arr)
           {
               str += str1;
           }
           Console.WriteLine(str);   //output abc de fg hi jk

AnswerRe: How to remove characters from string value Pin
Estys23-Jan-11 5:27
Estys23-Jan-11 5:27 
AnswerRe: How to remove characters from string value Pin
RaviRanjanKr23-Jan-11 6:16
professionalRaviRanjanKr23-Jan-11 6:16 
AnswerRe: How to remove characters from string value [modified] Pin
Abhinav S23-Jan-11 6:38
Abhinav S23-Jan-11 6:38 
GeneralRe: How to remove characters from string value Pin
Richard MacCutchan23-Jan-11 8:22
mveRichard MacCutchan23-Jan-11 8:22 
JokeRe: How to remove characters from string value Pin
Not Active23-Jan-11 10:19
mentorNot Active23-Jan-11 10:19 
GeneralRe: How to remove characters from string value Pin
Abhinav S23-Jan-11 17:30
Abhinav S23-Jan-11 17:30 
AnswerRe: How to remove characters from string value Pin
Paladin200024-Jan-11 3:54
Paladin200024-Jan-11 3:54 
QuestionBuild and use user control (vs 2010) Pin
ladoota22-Jan-11 20:13
ladoota22-Jan-11 20:13 
AnswerRe: Build and use user control (vs 2010) Pin
Richard MacCutchan22-Jan-11 21:38
mveRichard MacCutchan22-Jan-11 21:38 
AnswerRe: Build and use user control (vs 2010) Pin
RaviRanjanKr23-Jan-11 17:36
professionalRaviRanjanKr23-Jan-11 17:36 
QuestionRemoving duplicates / extracting unique vals from String array Pin
csrss22-Jan-11 1:25
csrss22-Jan-11 1:25 
AnswerRe: Removing duplicates / extracting unique vals from String array Pin
Luc Pattyn22-Jan-11 1:54
sitebuilderLuc Pattyn22-Jan-11 1:54 
GeneralRe: Removing duplicates / extracting unique vals from String array Pin
csrss22-Jan-11 2:07
csrss22-Jan-11 2:07 
AnswerRe: Removing duplicates / extracting unique vals from String array Pin
dan!sh 22-Jan-11 2:04
professional dan!sh 22-Jan-11 2:04 
GeneralRe: Removing duplicates / extracting unique vals from String array Pin
csrss22-Jan-11 2:09
csrss22-Jan-11 2:09 
AnswerRe: Removing duplicates / extracting unique vals from String array Pin
PIEBALDconsult22-Jan-11 3:30
mvePIEBALDconsult22-Jan-11 3:30 
AnswerRe: Removing duplicates / extracting unique vals from String array [modified] Pin
DaveyM6922-Jan-11 5:47
professionalDaveyM6922-Jan-11 5:47 

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.