Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: Type conversion Pin
harold aptroot20-Jul-09 19:24
harold aptroot20-Jul-09 19:24 
QuestionMessage Removed Pin
20-Jul-09 14:19
ImNAM20-Jul-09 14:19 
AnswerRe: Getting Values from List Pin
PIEBALDconsult20-Jul-09 14:21
mvePIEBALDconsult20-Jul-09 14:21 
General[Message Deleted] Pin
ImNAM20-Jul-09 14:23
ImNAM20-Jul-09 14:23 
GeneralRe: Getting Values from List Pin
Christian Graus20-Jul-09 14:24
protectorChristian Graus20-Jul-09 14:24 
AnswerRe: Getting Values from List Pin
Christian Graus20-Jul-09 14:25
protectorChristian Graus20-Jul-09 14:25 
GeneralRe: Getting Values from List Pin
ImNAM20-Jul-09 14:30
ImNAM20-Jul-09 14:30 
GeneralRe: Getting Values from List Pin
Christian Graus20-Jul-09 14:36
protectorChristian Graus20-Jul-09 14:36 
OK - well, in the first instance, you can use the split method on the string class, so long as there's always one = sign in the string. Otherwise, you can use regex to split it up.

So

string s = "FNAME=fred";
string [] vals = s.Split("=");
vals[0] is now FNAME= and vals[1] is now fred. You could then pass these values into a dictionary for later lookup.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: Getting Values from List Pin
PIEBALDconsult20-Jul-09 16:30
mvePIEBALDconsult20-Jul-09 16:30 
Questionwhat is the equivalent to this c++ code in C#? Pin
Abdulaziz M Zaben20-Jul-09 12:22
Abdulaziz M Zaben20-Jul-09 12:22 
AnswerRe: what is the equivalent to this c++ code in C#? Pin
Luc Pattyn20-Jul-09 12:59
sitebuilderLuc Pattyn20-Jul-09 12:59 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Abdulaziz M Zaben20-Jul-09 13:16
Abdulaziz M Zaben20-Jul-09 13:16 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Luc Pattyn20-Jul-09 13:47
sitebuilderLuc Pattyn20-Jul-09 13:47 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Adrian Schröder20-Jul-09 20:47
Adrian Schröder20-Jul-09 20:47 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Luc Pattyn21-Jul-09 2:12
sitebuilderLuc Pattyn21-Jul-09 2:12 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
PIEBALDconsult20-Jul-09 14:23
mvePIEBALDconsult20-Jul-09 14:23 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Luc Pattyn20-Jul-09 14:51
sitebuilderLuc Pattyn20-Jul-09 14:51 
AnswerRe: what is the equivalent to this c++ code in C#? Pin
PIEBALDconsult20-Jul-09 16:44
mvePIEBALDconsult20-Jul-09 16:44 
AnswerRe: what is the equivalent to this c++ code in C#? [modified] Pin
Abdulaziz M Zaben20-Jul-09 22:08
Abdulaziz M Zaben20-Jul-09 22:08 
GeneralRe: what is the equivalent to this c++ code in C#? Pin
Gideon Engelberth21-Jul-09 3:40
Gideon Engelberth21-Jul-09 3:40 
AnswerRe: what is the equivalent to this c++ code in C#? Pin
iscript21-Jul-09 15:56
iscript21-Jul-09 15:56 
QuestionIs it possible to disable parts of a pictureBox? Pin
NewJavaBean20-Jul-09 11:23
NewJavaBean20-Jul-09 11:23 
AnswerRe: Is it possible to disable parts of a pictureBox? Pin
Christian Graus20-Jul-09 14:30
protectorChristian Graus20-Jul-09 14:30 
GeneralRe: Is it possible to disable parts of a pictureBox? Pin
NewJavaBean20-Jul-09 15:30
NewJavaBean20-Jul-09 15:30 
AnswerRe: Is it possible to disable parts of a pictureBox? Pin
PIEBALDconsult20-Jul-09 17:18
mvePIEBALDconsult20-Jul-09 17:18 

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.