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

C#

 
GeneralRe: Daft question on indenting text. Pin
Septimus Hedgehog3-Sep-13 20:45
Septimus Hedgehog3-Sep-13 20:45 
GeneralRe: Daft question on indenting text. Pin
BillWoodruff3-Sep-13 23:29
professionalBillWoodruff3-Sep-13 23:29 
GeneralRe: Daft question on indenting text. Pin
Septimus Hedgehog4-Sep-13 0:35
Septimus Hedgehog4-Sep-13 0:35 
GeneralRe: Daft question on indenting text. Pin
BillWoodruff4-Sep-13 3:52
professionalBillWoodruff4-Sep-13 3:52 
GeneralRe: Daft question on indenting text. Pin
Septimus Hedgehog4-Sep-13 6:00
Septimus Hedgehog4-Sep-13 6:00 
AnswerRe: Daft question on indenting text. Pin
Bernhard Hiller3-Sep-13 22:40
Bernhard Hiller3-Sep-13 22:40 
GeneralRe: Daft question on indenting text. Pin
Septimus Hedgehog4-Sep-13 0:15
Septimus Hedgehog4-Sep-13 0:15 
QuestionSubstring / Split String help Pin
Member 101198373-Sep-13 5:02
Member 101198373-Sep-13 5:02 
Hi I have text as an output that is in the following format.

Example install cdb 000
Firstname LastNameNot Started(2) Normal02/09/2013 18:0002/09/2013 23:00426
Example install cdb 000
Firstname LastNameNot Started(2) Normal02/09/2013 18:0002/09/2013 23:00426
Example install cdb 000
Firstname LastNameNot Started(2) Normal02/09/2013 18:0002/09/2013 23:00426
Example install cdb 000
Firstname LastNameNot Started(2) Normal02/09/2013 18:0002/09/2013 23:00426

What im trying to do is to substring/split this text so i can put it in a datagrid or list view.

Idealy I need the text in the following format so I can do this but I am having trouble trying to figure out the c# behind this.

Ideally the text would output as,

Example install
cdb 000
Firstname LastName
Not Started

Example install
cdb 000
Firstname LastName
Not Started

etc, for each entry in the source text.

(2)Normal02/09/2013 18:0002/09/2013 23:00426 (remove this text from the string)

The problem is that I would have to loop through all the text from the source to get this output. But the source text above is not always that length and could contain more entries.

Any ideas on this one?

I would apreciate any help anyone can give.

Thanks
AnswerRe: Substring / Split String help Pin
Dave Kreskowiak3-Sep-13 5:30
mveDave Kreskowiak3-Sep-13 5:30 
GeneralRe: Substring / Split String help Pin
Member 101198373-Sep-13 5:39
Member 101198373-Sep-13 5:39 
GeneralRe: Substring / Split String help Pin
Dave Kreskowiak3-Sep-13 5:47
mveDave Kreskowiak3-Sep-13 5:47 
AnswerRe: Substring / Split String help Pin
BillWoodruff3-Sep-13 17:46
professionalBillWoodruff3-Sep-13 17:46 
AnswerRe: Substring / Split String help Pin
Forbiddenx4-Sep-13 4:59
Forbiddenx4-Sep-13 4:59 
Question"Handle" Pin
Bernhard Hiller3-Sep-13 3:07
Bernhard Hiller3-Sep-13 3:07 
AnswerRe: "Handle" Pin
Dave Kreskowiak3-Sep-13 3:49
mveDave Kreskowiak3-Sep-13 3:49 
GeneralRe: "Handle" Pin
Bernhard Hiller3-Sep-13 21:43
Bernhard Hiller3-Sep-13 21:43 
GeneralRe: "Handle" Pin
Dave Kreskowiak4-Sep-13 1:16
mveDave Kreskowiak4-Sep-13 1:16 
QuestionI can not Update my table when I want to check duplicate Records ... Pin
smh13923-Sep-13 2:00
smh13923-Sep-13 2:00 
AnswerRe: I can not Update my table when I want to check duplicate Records ... Pin
Bernhard Hiller3-Sep-13 22:47
Bernhard Hiller3-Sep-13 22:47 
GeneralRe: I can not Update my table when I want to check duplicate Records ... Pin
smh13924-Sep-13 3:27
smh13924-Sep-13 3:27 
QuestionCustomizing Solid Edge Pin
rani21072-Sep-13 20:11
rani21072-Sep-13 20:11 
AnswerRe: Customizing Solid Edge Pin
Pete O'Hanlon2-Sep-13 20:23
mvePete O'Hanlon2-Sep-13 20:23 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:05
rani21073-Sep-13 2:05 
GeneralRe: Customizing Solid Edge PinPopular
Pete O'Hanlon3-Sep-13 2:11
mvePete O'Hanlon3-Sep-13 2:11 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:25
rani21073-Sep-13 2:25 

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.