Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read MS Access Code Files Using C# Pin
jschell26-Sep-17 6:08
jschell26-Sep-17 6:08 
AnswerRe: Read MS Access Code Files Using C# Pin
Joan M23-Sep-17 22:53
professionalJoan M23-Sep-17 22:53 
AnswerRe: Read MS Access Code Files Using C# Pin
Richard MacCutchan24-Sep-17 4:06
mveRichard MacCutchan24-Sep-17 4:06 
QuestionNeed help with API Values Pin
Bootzilla3322-Sep-17 3:17
Bootzilla3322-Sep-17 3:17 
AnswerRe: Need help with API Values Pin
Richard MacCutchan22-Sep-17 3:46
mveRichard MacCutchan22-Sep-17 3:46 
AnswerRe: Need help with API Values Pin
jschell22-Sep-17 8:58
jschell22-Sep-17 8:58 
QuestionDebug HTTP Vlient Handler (specifically cookies) in C# Pin
julian bechtold22-Sep-17 2:46
julian bechtold22-Sep-17 2:46 
Questionsplit method bug Pin
WoodChuckChuckles22-Sep-17 2:56
WoodChuckChuckles22-Sep-17 2:56 
Hi there,

I am experiencing issue with split method. When I try split something like this:
 06302017;37;Denver; Other Non-Interest Expense from RI item 7.d. : Travel Expense=$88,799. Excess public-facing website address listings f rom 
RC-M line 8.b.: sparkalpha.com, www.getsparkalpha.com, www.getsparkalpha.com, www.sparkalpha.com; 07282017;Other; RCM; M4b

The tab that occurs is not my doing but what actually happens with that mass of string and I believe it is causing my problem. It splits this in half into two different arrays. This is problematic because each item separated by a ';' corresponds to a field so it causes an out of bounds error. Any suggestions on how to get it to keep the 8 different strings within the split? Based on how my program is run, I cannot make a special case of this and expect it to work well.


By the way, I didn't write the line that I'm trying to split so I cannot fix it myself. I am grabbing a file from a website location and then splitting it so that the data can be used for a database.
Thank you for your help.
AnswerRe: split method bug Pin
PIEBALDconsult22-Sep-17 2:51
mvePIEBALDconsult22-Sep-17 2:51 
GeneralRe: split method bug Pin
WoodChuckChuckles22-Sep-17 2:56
WoodChuckChuckles22-Sep-17 2:56 
AnswerRe: split method bug Pin
Richard MacCutchan22-Sep-17 3:44
mveRichard MacCutchan22-Sep-17 3:44 
GeneralRe: split method bug Pin
WoodChuckChuckles22-Sep-17 5:43
WoodChuckChuckles22-Sep-17 5:43 
GeneralRe: split method bug Pin
Richard MacCutchan22-Sep-17 5:56
mveRichard MacCutchan22-Sep-17 5:56 
GeneralRe: split method bug Pin
eddieangel22-Sep-17 6:42
eddieangel22-Sep-17 6:42 
GeneralRe: split method bug Pin
WoodChuckChuckles22-Sep-17 7:56
WoodChuckChuckles22-Sep-17 7:56 
GeneralRe: split method bug Pin
eddieangel22-Sep-17 8:13
eddieangel22-Sep-17 8:13 
QuestionI wants to show a stack panel using the TextBlock controls for the MyNotes about box. Which of the following code will help for me ? Pin
Member 1309368222-Sep-17 0:19
Member 1309368222-Sep-17 0:19 
AnswerRe: I wants to show a stack panel using the TextBlock controls for the MyNotes about box. Which of the following code will help for me ? Pin
OriginalGriff22-Sep-17 0:53
mveOriginalGriff22-Sep-17 0:53 
AnswerRe: I wants to show a stack panel using the TextBlock controls for the MyNotes about box. Which of the following code will help for me ? Pin
Pete O'Hanlon22-Sep-17 2:09
mvePete O'Hanlon22-Sep-17 2:09 
QuestionI wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Member 1309368221-Sep-17 22:59
Member 1309368221-Sep-17 22:59 
AnswerRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Eddy Vluggen21-Sep-17 23:15
professionalEddy Vluggen21-Sep-17 23:15 
AnswerRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
OriginalGriff21-Sep-17 23:18
mveOriginalGriff21-Sep-17 23:18 
AnswerRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Jochen Arndt22-Sep-17 0:17
professionalJochen Arndt22-Sep-17 0:17 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Rob Philpott22-Sep-17 0:19
Rob Philpott22-Sep-17 0:19 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Jochen Arndt22-Sep-17 0:23
professionalJochen Arndt22-Sep-17 0:23 

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.