Click here to Skip to main content
15,889,859 members
Home / Discussions / C#
   

C#

 
AnswerREPOST from only a few hours ago Pin
Pete O'Hanlon9-May-10 23:52
mvePete O'Hanlon9-May-10 23:52 
QuestionReg: Disabling single item of CheckedListBox in C# - Pin
hemamerp9-May-10 22:28
hemamerp9-May-10 22:28 
AnswerRe: Reg: Disabling single item of CheckedListBox in C# - Pin
Heinzzy9-May-10 23:19
Heinzzy9-May-10 23:19 
Questionread data from modem Pin
A_Fa9-May-10 21:54
A_Fa9-May-10 21:54 
AnswerRe: read data from modem - Repost Pin
Richard MacCutchan9-May-10 22:03
mveRichard MacCutchan9-May-10 22:03 
QuestionOLEDB PROBLEM Pin
elizabeth mwash9-May-10 21:51
elizabeth mwash9-May-10 21:51 
AnswerRe: OLEDB PROBLEM Pin
Estys9-May-10 22:07
Estys9-May-10 22:07 
Questionsplit strings. Pin
AndieDu9-May-10 21:31
AndieDu9-May-10 21:31 
Hi All,

I have this string: "1x #234 Greenock Creek - Alice's - Shiraz - 2001 - 750mL = $578.05 1x #242 Greenock Creek - Cornerstone - Grenache - 2001 - 750mL = $297.55 2x #363 Maxwell - Ellen Street - Shiraz - 2002 - 750mL = $309.10 2x #369 Maxwell - Meracus 53 - Shiraz Grenache - 2002 - 750mL = $226.60"

Now i want to split this string like this:
1x #234 Greenock Creek - Alice's - Shiraz - 2001 - 750mL = $578.05
1x #242 Greenock Creek - Cornerstone - Grenache - 2001 - 750mL = $297.55
2x #363 Maxwell - Ellen Street - Shiraz - 2002 - 750mL = $309.10
2x #369 Maxwell - Meracus 53 - Shiraz Grenache - 2002 - 750mL = $226.60

I was tring to load this string into an array of char, but the performance will be affected since i have a pretty large string input. Are there any other ways to split this string.

Thanks very much.
AnswerRe: split strings. Pin
Pete O'Hanlon9-May-10 22:40
mvePete O'Hanlon9-May-10 22:40 
GeneralRe: split strings. Pin
AndieDu10-May-10 15:12
AndieDu10-May-10 15:12 
AnswerRe: split strings. Pin
AndieDu10-May-10 18:27
AndieDu10-May-10 18:27 
AnswerRe: split strings. Pin
PIEBALDconsult10-May-10 19:29
mvePIEBALDconsult10-May-10 19:29 
Questioncontext menu display orientation [modified] Pin
Maddie from Dartford9-May-10 21:13
Maddie from Dartford9-May-10 21:13 
AnswerRe: context menu display orientation Pin
Henry Minute10-May-10 1:09
Henry Minute10-May-10 1:09 
Questioncomparing ini files Pin
Member 5903109-May-10 19:53
Member 5903109-May-10 19:53 
AnswerRe: comparing ini files Pin
Estys9-May-10 20:37
Estys9-May-10 20:37 
GeneralRe: comparing ini files Pin
Member 5903109-May-10 20:45
Member 5903109-May-10 20:45 
GeneralRe: comparing ini files Pin
Member 5903109-May-10 20:53
Member 5903109-May-10 20:53 
GeneralRe: comparing ini files Pin
Estys9-May-10 20:59
Estys9-May-10 20:59 
AnswerRe: comparing ini files Pin
Peace ON9-May-10 20:52
Peace ON9-May-10 20:52 
GeneralRe: comparing ini files Pin
Member 5903109-May-10 20:57
Member 5903109-May-10 20:57 
AnswerRe: comparing ini files Pin
Peace ON9-May-10 21:09
Peace ON9-May-10 21:09 
AnswerRe: comparing ini files Pin
Abhinav S9-May-10 21:13
Abhinav S9-May-10 21:13 
QuestionChecking Identity field or not Using SMO Pin
Nandakumar.n.pai9-May-10 18:27
Nandakumar.n.pai9-May-10 18:27 
AnswerRe: Checking Identity field or not Using SMO Pin
Ankur\m/9-May-10 19:43
professionalAnkur\m/9-May-10 19:43 

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.