Click here to Skip to main content
15,888,579 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: (C++/CLI) "FileNotFoundException" raised in "Activator::GetObject()" method of Remoting programming Pin
led mike6-Mar-09 4:47
led mike6-Mar-09 4:47 
QuestionStreamReader delimiters in C++/CLI Pin
J_E_D_I3-Mar-09 22:14
J_E_D_I3-Mar-09 22:14 
AnswerRe: StreamReader delimiters in C++/CLI Pin
ky_rerun5-Mar-09 6:50
ky_rerun5-Mar-09 6:50 
AnswerRe: StreamReader delimiters in C++/CLI Pin
dybs6-Mar-09 17:58
dybs6-Mar-09 17:58 
QuestionRe: StreamReader delimiters in C++/CLI Pin
J_E_D_I16-Mar-09 7:06
J_E_D_I16-Mar-09 7:06 
AnswerRe: StreamReader delimiters in C++/CLI Pin
dybs16-Mar-09 13:21
dybs16-Mar-09 13:21 
GeneralRe: StreamReader delimiters in C++/CLI Pin
J_E_D_I25-Mar-09 11:19
J_E_D_I25-Mar-09 11:19 
GeneralRe: StreamReader delimiters in C++/CLI Pin
dybs25-Mar-09 15:33
dybs25-Mar-09 15:33 
Please read the documentation more closely. In the link I posted previously, you'll notice several overloads of String.Split. If you bother to read the descriptions of the overloads, you'll see there's one that fits your requirements quite nicely. All I'll say is you need one overload to split the string to the end of the line, and another to split the string and only get the first 3 values (or however many you want). Again, you can find the sample code in the documentation.

For future reference, the MSDN documentation is your friend. You could have figured this out on your own in 5 minutes by Googling "System.String" and looking at the functions available for the string class. If you need to know what functions are available for any .NET class, Google the fully-qualified name of the class (namespace.class) and the first couple of links will give you exactly what you need.

Dybs
QuestionSqlDataAdapter + DataSet problem Pin
CNTX!3-Mar-09 10:28
CNTX!3-Mar-09 10:28 
AnswerRe: SqlDataAdapter + DataSet problem Pin
N a v a n e e t h3-Mar-09 15:01
N a v a n e e t h3-Mar-09 15:01 
GeneralRe: SqlDataAdapter + DataSet problem Pin
CNTX!3-Mar-09 15:13
CNTX!3-Mar-09 15:13 
Questionreader.Read() to string array Pin
Thilek2-Mar-09 8:19
Thilek2-Mar-09 8:19 
AnswerRe: reader.Read() to string array Pin
N a v a n e e t h2-Mar-09 15:28
N a v a n e e t h2-Mar-09 15:28 
GeneralRe: reader.Read() to string array Pin
Thilek2-Mar-09 17:47
Thilek2-Mar-09 17:47 
GeneralRe: reader.Read() to string array Pin
N a v a n e e t h3-Mar-09 1:22
N a v a n e e t h3-Mar-09 1:22 
GeneralRe: reader.Read() to string array Pin
Thilek8-Mar-09 6:58
Thilek8-Mar-09 6:58 
QuestionError Message Pin
vanishaa2-Mar-09 2:58
vanishaa2-Mar-09 2:58 
GeneralRe: Error Message Pin
Luc Pattyn2-Mar-09 3:50
sitebuilderLuc Pattyn2-Mar-09 3:50 
GeneralRe: Error Message Pin
N a v a n e e t h2-Mar-09 15:15
N a v a n e e t h2-Mar-09 15:15 
AnswerRe: Error Message Pin
N a v a n e e t h2-Mar-09 15:11
N a v a n e e t h2-Mar-09 15:11 
QuestionStreamWriter - How can I write as a .CSV file ? Pin
J_E_D_I28-Feb-09 9:49
J_E_D_I28-Feb-09 9:49 
AnswerRe: StreamWriter - How can I write as a .CSV file ? Pin
bfoo7528-Feb-09 11:07
bfoo7528-Feb-09 11:07 
AnswerRe: StreamWriter - How can I write as a .CSV file ? Pin
Mark Salsbery28-Feb-09 11:12
Mark Salsbery28-Feb-09 11:12 
QuestionRe: StreamWriter - How can I write as a .CSV file ? Pin
J_E_D_I28-Feb-09 18:32
J_E_D_I28-Feb-09 18:32 
AnswerRe: StreamWriter - How can I write as a .CSV file ? Pin
Mark Salsbery1-Mar-09 12:56
Mark Salsbery1-Mar-09 12:56 

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.