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

C#

 
GeneralRe: how to convert a .txt file to return an array? c# Pin
Rob Philpott15-Jul-14 20:35
Rob Philpott15-Jul-14 20:35 
AnswerRe: how to convert a .txt file to return an array? c# Pin
Rob Philpott15-Jul-14 20:28
Rob Philpott15-Jul-14 20:28 
AnswerRe: how to convert a .txt file to return an array? c# Pin
OriginalGriff15-Jul-14 20:49
mveOriginalGriff15-Jul-14 20:49 
QuestionGet csv outputfil from file.msg Pin
Member 1092249815-Jul-14 5:32
Member 1092249815-Jul-14 5:32 
AnswerRe: Get csv outputfil from file.msg Pin
Rob Philpott15-Jul-14 6:07
Rob Philpott15-Jul-14 6:07 
GeneralRe: Get csv outputfil from file.msg Pin
Member 1092249815-Jul-14 12:09
Member 1092249815-Jul-14 12:09 
GeneralRe: Get csv outputfil from file.msg Pin
Rob Philpott15-Jul-14 20:30
Rob Philpott15-Jul-14 20:30 
GeneralRe: Get csv outputfil from file.msg Pin
Member 1092249821-Jul-14 23:04
Member 1092249821-Jul-14 23:04 
Hi Rob ,
The field delimiters are ' : ' (colon)
so i'm working on
C#
string mybody =item.body
and use Methode
C#
Split()
To look over my custom Fiels(Text Qualifier), but unfortunately i have some issues.

my text body look like:

Titel : MYPROJECT
Subject: NEWPROJECT
---------------
---------------
Manager:MYMANGER1
-------------------
---------------
with :
C#
string title=bodyContent.split(':')[1] 

I can already read 'title'. but when looking at the content of 'string title', it contain the next texte value!.

I get : title=MYPROJECT Subject:
instead of just:
title=MYPROJECT

and the same for the others fields.
How can i stop reading when found and read the value of the first colon ':' , I thought about using Readline(), but i know, i'll miss some line to read.
an others suggestion ?!


thanks a lot.
thim
Thim.


modified 22-Jul-14 9:02am.

QuestionINotifyPropertyChanged binding label problem during update in function Pin
massisoda15-Jul-14 4:42
massisoda15-Jul-14 4:42 
AnswerRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon15-Jul-14 5:18
mvePete O'Hanlon15-Jul-14 5:18 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
massisoda15-Jul-14 5:21
massisoda15-Jul-14 5:21 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon15-Jul-14 5:24
mvePete O'Hanlon15-Jul-14 5:24 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
massisoda16-Jul-14 1:48
massisoda16-Jul-14 1:48 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon16-Jul-14 1:53
mvePete O'Hanlon16-Jul-14 1:53 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
massisoda16-Jul-14 2:00
massisoda16-Jul-14 2:00 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon16-Jul-14 2:22
mvePete O'Hanlon16-Jul-14 2:22 
QuestionShowDialog doesn't make form modal Pin
Don Guy15-Jul-14 4:34
Don Guy15-Jul-14 4:34 
AnswerRe: ShowDialog doesn't make form modal Pin
Eddy Vluggen15-Jul-14 5:28
professionalEddy Vluggen15-Jul-14 5:28 
QuestionTo create reports Pin
stokkee15-Jul-14 2:19
stokkee15-Jul-14 2:19 
AnswerRe: To create reports Pin
Simon_Whale15-Jul-14 3:22
Simon_Whale15-Jul-14 3:22 
AnswerRe: To create reports Pin
deenn22-Jul-14 2:26
deenn22-Jul-14 2:26 
Questionreading magnetic card stripe Pin
Jassim Rahma15-Jul-14 1:22
Jassim Rahma15-Jul-14 1:22 
AnswerRe: reading magnetic card stripe Pin
OriginalGriff15-Jul-14 1:31
mveOriginalGriff15-Jul-14 1:31 
GeneralRe: reading magnetic card stripe Pin
Jassim Rahma15-Jul-14 1:35
Jassim Rahma15-Jul-14 1:35 
GeneralRe: reading magnetic card stripe Pin
OriginalGriff15-Jul-14 1:38
mveOriginalGriff15-Jul-14 1:38 

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.