Click here to Skip to main content
15,916,379 members
Home / Discussions / C#
   

C#

 
GeneralRe: Comparing two ArrayLists ? Pin
dennycrane22-Apr-08 13:32
dennycrane22-Apr-08 13:32 
GeneralOk, im confused. Pin
Anthony Mushrow22-Apr-08 13:37
professionalAnthony Mushrow22-Apr-08 13:37 
GeneralRe: Ok, im confused. Pin
dennycrane22-Apr-08 14:36
dennycrane22-Apr-08 14:36 
QuestionHow i can block the incomming network traffic using C# .NET Pin
Tahir Abbasi22-Apr-08 8:16
Tahir Abbasi22-Apr-08 8:16 
AnswerRepost ignore Pin
led mike22-Apr-08 8:39
led mike22-Apr-08 8:39 
AnswerRe: How i can block the incomming network traffic using C# .NET Pin
Pete O'Hanlon22-Apr-08 8:49
mvePete O'Hanlon22-Apr-08 8:49 
GeneralRe: How i can block the incomming network traffic using C# .NET Pin
Paul Conrad22-Apr-08 15:28
professionalPaul Conrad22-Apr-08 15:28 
Generalproblems splitting string Pin
stephan_00722-Apr-08 7:55
stephan_00722-Apr-08 7:55 
hy everyone!

i do have a problem. I have to split strings they are like

"variable1", "variable_1", "variable"


i do only have to parse the first line, but sometimes the first line looks like

"variable11", "variable_11", "variable1"

in this line the last "1" represents a color information.

I do only have to parse the first line, in both cases the result should be
variable1, variable_1, variable

example:
my input is

variable1, variable_1, variable
variable11, variable_11, variable1

=> result of first line: variable1, variable_1, variable

if the input is
variable11, variable_11, variable1
variable1, variable_1, variable

=> result of first line: variable1, variable_1, variable

does anyone have an idea of how to code this?

It's quit tricky. I tried myself for some hours but found no solution which works propperly. Because I do not know if the first element has two "11" or just one!
The string could also be in this order:
variable, variable1, variable_1

Maybe someone of you could help me please.

thanks.

Stephan.
GeneralRe: problems splitting string Pin
led mike22-Apr-08 8:40
led mike22-Apr-08 8:40 
GeneralRe: problems splitting string Pin
Guffa22-Apr-08 8:46
Guffa22-Apr-08 8:46 
GeneralRe: problems splitting string Pin
stephan_00722-Apr-08 9:56
stephan_00722-Apr-08 9:56 
GeneralRe: problems splitting string Pin
Guffa22-Apr-08 13:27
Guffa22-Apr-08 13:27 
GeneralRe: problems splitting string Pin
WBurgMo22-Apr-08 9:51
WBurgMo22-Apr-08 9:51 
GeneralRe: problems splitting string Pin
stephan_00722-Apr-08 10:48
stephan_00722-Apr-08 10:48 
GeneralWord plugin - working button Pin
Vodstok22-Apr-08 5:45
Vodstok22-Apr-08 5:45 
GeneralRe: Word plugin - working button Pin
Spacix One22-Apr-08 9:51
Spacix One22-Apr-08 9:51 
General"Remember my password" in a winforms application Pin
benjymous22-Apr-08 5:16
benjymous22-Apr-08 5:16 
GeneralRe: "Remember my password" in a winforms application Pin
led mike22-Apr-08 8:51
led mike22-Apr-08 8:51 
GeneralRe: "Remember my password" in a winforms application Pin
User 665822-Apr-08 8:59
User 665822-Apr-08 8:59 
General[Message Deleted] Pin
gottimukkala22-Apr-08 4:42
gottimukkala22-Apr-08 4:42 
GeneralRe: Wrong board Pin
Blue_Boy22-Apr-08 4:44
Blue_Boy22-Apr-08 4:44 
GeneralSqlParameter problem Pin
Deian22-Apr-08 3:53
Deian22-Apr-08 3:53 
GeneralRe: SqlParameter problem Pin
Blue_Boy22-Apr-08 4:00
Blue_Boy22-Apr-08 4:00 
GeneralRe: SqlParameter problem Pin
Deian22-Apr-08 4:14
Deian22-Apr-08 4:14 
GeneralRe: SqlParameter problem Pin
Blue_Boy22-Apr-08 4:26
Blue_Boy22-Apr-08 4:26 

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.