string valeur = ligne.Split(ChrW(59))(0);
what is the equivalent of that in C# please???
rminator
0
Junior Poster in Training
Recommended Answers
Jump to Poststring valeur = ligne.Split(ChrW(59))(0);
Can you explain this method? What it Does?
Jump to PostWhat is "ligne"?? Is it a string?
Jump to Post"ChrW"?? This one??
If ligne is a string how could it read from a CSV. It will be usefull if give the sample coding in which ligne,ChrW are related.. Me too don't know VB. I need to make a try?
Jump to PostIts taking a string called ligne, splitting it at char 59 (that's a semicolon), and assigning valeur as index zero of the split.
C# equivalent of that
string valeur = ligne.Split(';')[0];
All 14 Replies
samueal
0
Junior Poster
rminator
0
Junior Poster in Training
samueal
0
Junior Poster
rminator
0
Junior Poster in Training
samueal
0
Junior Poster
rminator
0
Junior Poster in Training
WildBamaBoy
19
Junior Poster
samueal
commented:
Good one.
+4
WildBamaBoy
19
Junior Poster
rminator
0
Junior Poster in Training
WildBamaBoy
19
Junior Poster
samueal
0
Junior Poster
rminator
0
Junior Poster in Training
WildBamaBoy
19
Junior Poster
samueal
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.