Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need to store date(in string ) into MS Access (in Date fromat) Pin
Pete O'Hanlon13-Oct-08 2:01
mvePete O'Hanlon13-Oct-08 2:01 
AnswerRe: Need to store date(in string ) into MS Access (in Date fromat) Pin
KaptinKrunch13-Oct-08 3:14
KaptinKrunch13-Oct-08 3:14 
Questioncalculate after working hours total minutes Pin
Jassim Rahma13-Oct-08 1:27
Jassim Rahma13-Oct-08 1:27 
AnswerRe: calculate after working hours total minutes Pin
Guffa13-Oct-08 1:54
Guffa13-Oct-08 1:54 
AnswerRe: calculate after working hours total minutes Pin
Jassim Rahma13-Oct-08 11:13
Jassim Rahma13-Oct-08 11:13 
Questionsplit a string into parts by losing no character in c# Pin
rahuladya13-Oct-08 1:15
rahuladya13-Oct-08 1:15 
AnswerRe: split a string into parts by losing no character in c# Pin
Ashfield13-Oct-08 1:26
Ashfield13-Oct-08 1:26 
AnswerRe: split a string into parts by losing no character in c# PinPopular
Guffa13-Oct-08 1:35
Guffa13-Oct-08 1:35 
rahuladya wrote:
string[] b = new string[10];
b=a.Split('a');


Why do you create an array and assign to the b variable, when you are assigning a new variable to it on the next line?

rahuladya wrote:
i want to get

b[0]=a
b[1]=dv
b[2]=a
b[3]=nced


You can use a regular expression to split the string:
string a = "advanced";
string[] b = Regex.Split(a, "(a)");

Or for any string you like:
string a = "advanced";
string splitter = "a";
string[] b = Regex.Split(a, "(" + Regex.Escape(splitter) + ")");


Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: split a string into parts by losing no character in c# Pin
Ashfield13-Oct-08 2:46
Ashfield13-Oct-08 2:46 
GeneralRe: split a string into parts by losing no character in c# Pin
rahuladya14-Oct-08 3:27
rahuladya14-Oct-08 3:27 
QuestionHow to verify Two files Pin
sumit703412-Oct-08 23:28
sumit703412-Oct-08 23:28 
AnswerRe: How to verify Two files Pin
Giorgi Dalakishvili12-Oct-08 23:33
mentorGiorgi Dalakishvili12-Oct-08 23:33 
GeneralRe: How to verify Two files Pin
sumit703412-Oct-08 23:37
sumit703412-Oct-08 23:37 
GeneralRe: How to verify Two files Pin
Giorgi Dalakishvili12-Oct-08 23:41
mentorGiorgi Dalakishvili12-Oct-08 23:41 
AnswerRe: How to verify Two files Pin
Guffa12-Oct-08 23:54
Guffa12-Oct-08 23:54 
AnswerRe: How to verify Two files Pin
Mark Churchill13-Oct-08 0:00
Mark Churchill13-Oct-08 0:00 
GeneralRe: How to verify Two files Pin
sumit703413-Oct-08 0:58
sumit703413-Oct-08 0:58 
GeneralRe: How to verify Two files Pin
Guffa13-Oct-08 1:25
Guffa13-Oct-08 1:25 
GeneralRe: How to verify Two files Pin
Mark Churchill13-Oct-08 1:31
Mark Churchill13-Oct-08 1:31 
AnswerCross Post Pin
Thomas Stockwell13-Oct-08 2:08
professionalThomas Stockwell13-Oct-08 2:08 
GeneralRe: Cross Post Pin
Pete O'Hanlon13-Oct-08 2:59
mvePete O'Hanlon13-Oct-08 2:59 
GeneralRepeat comment Pin
Guffa13-Oct-08 3:15
Guffa13-Oct-08 3:15 
AnswerRe: How to verify Two files(problem solved) Pin
sumit703416-Oct-08 0:27
sumit703416-Oct-08 0:27 
Questionget folder alias from exchange Pin
panim2512-Oct-08 23:14
panim2512-Oct-08 23:14 
Questionweb reference issue Pin
George_George12-Oct-08 21:54
George_George12-Oct-08 21:54 

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.