Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
QuestionTrimming string after a specified character Pin
teejayem7-Jan-07 5:38
teejayem7-Jan-07 5:38 
Answer[Message Deleted] Pin
Dominik Reichl7-Jan-07 5:47
Dominik Reichl7-Jan-07 5:47 
GeneralRe: Trimming string after a specified character Pin
Colin Angus Mackay7-Jan-07 5:49
Colin Angus Mackay7-Jan-07 5:49 
GeneralRe: Trimming string after a specified character Pin
Guffa7-Jan-07 5:49
Guffa7-Jan-07 5:49 
AnswerRe: Trimming string after a specified character Pin
Colin Angus Mackay7-Jan-07 5:47
Colin Angus Mackay7-Jan-07 5:47 
AnswerRe: Trimming string after a specified character Pin
Tyler457-Jan-07 18:33
Tyler457-Jan-07 18:33 
GeneralRe: Trimming string after a specified character Pin
teejayem7-Jan-07 6:40
teejayem7-Jan-07 6:40 
AnswerRe: Trimming string after a specified character Pin
Kumuda K9-Jan-07 0:25
Kumuda K9-Jan-07 0:25 
Try this the textBox1.Text will have the input string and the Result is available in the sResult. Messagebox will display all the string trimmed to the left of '.'

string s = textBox1.Text;
char [] carrSplit = new char[]{'.'} ;
string [] sResult = s.Split(carrSplit);
for(int i=0;i
QuestionNode Delete Problem? Pin
sajid.salim.khan7-Jan-07 5:36
sajid.salim.khan7-Jan-07 5:36 
AnswerRe: Node Delete Problem? Pin
Ed.Poore7-Jan-07 5:59
Ed.Poore7-Jan-07 5:59 
AnswerRe: Node Delete Problem? Pin
Rob Graham7-Jan-07 6:03
Rob Graham7-Jan-07 6:03 
AnswerRe: Node Delete Problem? Pin
Christian Graus7-Jan-07 9:34
protectorChristian Graus7-Jan-07 9:34 
QuestionCOM Port Settings Pin
sajid.salim.khan7-Jan-07 5:18
sajid.salim.khan7-Jan-07 5:18 
AnswerRe: COM Port Settings Pin
Mostafa Siraj7-Jan-07 8:50
Mostafa Siraj7-Jan-07 8:50 
QuestionMay be a stupid question... Pin
hprahul7-Jan-07 4:39
hprahul7-Jan-07 4:39 
AnswerRe: May be a stupid question... Pin
Rob Graham7-Jan-07 6:05
Rob Graham7-Jan-07 6:05 
QuestionUnable to read black and white image Pin
code_explorer7-Jan-07 4:39
code_explorer7-Jan-07 4:39 
AnswerRe: Unable to read black and white image Pin
rizgar8-Jan-07 19:12
rizgar8-Jan-07 19:12 
QuestionEsc Key pressed Event Pin
swjam7-Jan-07 3:21
swjam7-Jan-07 3:21 
AnswerRe: Esc Key pressed Event Pin
Guffa7-Jan-07 3:33
Guffa7-Jan-07 3:33 
AnswerRe: Esc Key pressed Event Pin
Luc Pattyn7-Jan-07 7:54
sitebuilderLuc Pattyn7-Jan-07 7:54 
QuestionImage quality Pin
Mazdak7-Jan-07 2:15
Mazdak7-Jan-07 2:15 
AnswerRe: Image quality Pin
Nader Elshehabi7-Jan-07 2:43
Nader Elshehabi7-Jan-07 2:43 
GeneralRe: Image quality Pin
Mazdak7-Jan-07 3:42
Mazdak7-Jan-07 3:42 
AnswerRe: Image quality Pin
J. Dunlap7-Jan-07 3:16
J. Dunlap7-Jan-07 3:16 

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.