HighTechTalks DotNet Forums  

text contents to string[]

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss text contents to string[] in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Parvez
 
Posts: n/a

Default text contents to string[] - 04-03-2006 , 07:01 AM






BOF
BD|0001|20060403001|1
BO|1|BSE|0001|B|06/B-04130973|77160200000000001|200604031145|2005061|20 060403|30/04/2006-03/04/2006|500085|EQT|AR|27.55|3
BT|1|1001|115031|100|29.05
BT|2|1009|115040|100|29.20
BT|3|1011|115044|50|29.25
EOF

This is a prototype that can be in my text file.My web service will have to
read the content of the file and will have to store it in a string[] as given
below
BOF
BD
0001
20060403001
1
BO
Please help me how to do it?
if possible a sample code snippet would help me
Thanks in advance


Reply With Quote
  #2  
Old   
pvdg42
 
Posts: n/a

Default Re: text contents to string[] - 04-03-2006 , 07:53 AM







"Parvez" <Parvez (AT) discussions (DOT) microsoft.com> wrote

Quote:
BOF
BD|0001|20060403001|1
BO|1|BSE|0001|B|06/B-04130973|77160200000000001|200604031145|2005061|20 060403|30/04/2006-03/04/2006|500085|EQT|AR|27.55|3
BT|1|1001|115031|100|29.05
BT|2|1009|115040|100|29.20
BT|3|1011|115044|50|29.25
EOF

This is a prototype that can be in my text file.My web service will have
to
read the content of the file and will have to store it in a string[] as
given
below
BOF
BD
0001
20060403001
1
BO
Please help me how to do it?
if possible a sample code snippet would help me
Thanks in advance

Which language are you working in?




Reply With Quote
  #3  
Old   
Parvez
 
Posts: n/a

Default Re: text contents to string[] - 04-04-2006 , 01:21 AM




I am working in C#
"pvdg42" wrote:

Quote:
"Parvez" <Parvez (AT) discussions (DOT) microsoft.com> wrote in message
news:263C0116-A4C1-4B28-9D0A-ABEE8AAE2FE3 (AT) microsoft (DOT) com...
BOF
BD|0001|20060403001|1
BO|1|BSE|0001|B|06/B-04130973|77160200000000001|200604031145|2005061|20 060403|30/04/2006-03/04/2006|500085|EQT|AR|27.55|3
BT|1|1001|115031|100|29.05
BT|2|1009|115040|100|29.20
BT|3|1011|115044|50|29.25
EOF

This is a prototype that can be in my text file.My web service will have
to
read the content of the file and will have to store it in a string[] as
given
below
BOF
BD
0001
20060403001
1
BO
Please help me how to do it?
if possible a sample code snippet would help me
Thanks in advance


Which language are you working in?




Reply With Quote
  #4  
Old   
pvdg42
 
Posts: n/a

Default Re: text contents to string[] - 04-04-2006 , 07:56 AM




"Parvez" <Parvez (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am working in C#
I'd suggest you look into various methods available in the .NET String
class, such as concat(), join() and split().

http://msdn.microsoft.com/library/de...classtopic.asp




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.