Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
AnswerRe: Color (Generics List) to Color[] Pin
pbalaga29-Aug-08 2:02
pbalaga29-Aug-08 2:02 
GeneralRe: Color (Generics List) to Color[] Pin
bobsugar22229-Aug-08 3:36
bobsugar22229-Aug-08 3:36 
QuestionReturning the right side of the string Pin
Brendan Vogt28-Aug-08 23:19
Brendan Vogt28-Aug-08 23:19 
AnswerRe: Returning the right side of the string Pin
Anthony Mushrow28-Aug-08 23:30
professionalAnthony Mushrow28-Aug-08 23:30 
AnswerRe: Returning the right side of the string Pin
Brendan Vogt28-Aug-08 23:33
Brendan Vogt28-Aug-08 23:33 
GeneralRe: Returning the right side of the string Pin
#realJSOP28-Aug-08 23:45
professional#realJSOP28-Aug-08 23:45 
AnswerRe: Returning the right side of the string [modified] Pin
DaveyM6928-Aug-08 23:42
professionalDaveyM6928-Aug-08 23:42 
AnswerRe: Returning the right side of the string Pin
#realJSOP28-Aug-08 23:43
professional#realJSOP28-Aug-08 23:43 
First, IndexOf and LastIndexOf is going to return the same value because there's only one instance of the character you're looking for.

Second, there are several ways to do what you want. You could use the string.Split function...

string myString = "abcdef\\123456";
string[] parts = myString.Split("\\");
string leftSide = parts[0];
string rightSide = parts[1];



"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


QuestionVisual Studio 2003 - How to get it ? Pin
Kenneth Broendum28-Aug-08 23:03
Kenneth Broendum28-Aug-08 23:03 
AnswerRe: Visual Studio 2003 - How to get it ? Pin
Anthony Mushrow28-Aug-08 23:23
professionalAnthony Mushrow28-Aug-08 23:23 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Manas Bhardwaj28-Aug-08 23:46
professionalManas Bhardwaj28-Aug-08 23:46 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Kenneth Broendum29-Aug-08 1:20
Kenneth Broendum29-Aug-08 1:20 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Mark Salsbery29-Aug-08 11:24
Mark Salsbery29-Aug-08 11:24 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Anthony Mushrow29-Aug-08 1:32
professionalAnthony Mushrow29-Aug-08 1:32 
AnswerRe: Visual Studio 2003 - How to get it ? Pin
Manas Bhardwaj28-Aug-08 23:49
professionalManas Bhardwaj28-Aug-08 23:49 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Kenneth Broendum29-Aug-08 1:32
Kenneth Broendum29-Aug-08 1:32 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
m@u29-Aug-08 1:46
m@u29-Aug-08 1:46 
GeneralRe: Visual Studio 2003 - How to get it ? Pin
Mbah Dhaim29-Aug-08 12:35
Mbah Dhaim29-Aug-08 12:35 
QuestionCommunicate with other applications! Pin
Pedram Behroozi28-Aug-08 22:42
Pedram Behroozi28-Aug-08 22:42 
AnswerRe: Communicate with other applications! Pin
Manas Bhardwaj28-Aug-08 22:50
professionalManas Bhardwaj28-Aug-08 22:50 
AnswerRe: Communicate with other applications! Pin
Anthony Mushrow28-Aug-08 23:36
professionalAnthony Mushrow28-Aug-08 23:36 
GeneralRe: Communicate with other applications! Pin
Pedram Behroozi29-Aug-08 0:31
Pedram Behroozi29-Aug-08 0:31 
QuestionHelp with image loading! Pin
bugor7728-Aug-08 22:41
bugor7728-Aug-08 22:41 
AnswerRe: Help with image loading! Pin
Anthony Mushrow28-Aug-08 23:43
professionalAnthony Mushrow28-Aug-08 23:43 
QuestionMDX query iif condition Pin
annu0828-Aug-08 21:01
annu0828-Aug-08 21:01 

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.