TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Wilco van Niekerk
NA
3
0
string to jagged array
Sep 12 2009 4:07 PM
Hi I am battling with an array. I receive data from hardware via the serial port. I capture the data and store it in a string called PortData. The string I get starts with a ASCII004 char and there are 4 other ASCII005 characters as delimiters. That will break up the string in 5 groups of data. I need to convert that string into a jagged array or any other method where I can acess the 4th group of data to draw a graph. I tried to split it, but does not work. here is a sample of the data I get. " 01 1 2 1 0340 21 33 06 08 09 20 09 0015 0010 0000 0242 0241 0600 0000 0600 0000 0284 0242 0284 0242 0284 0242 0284 0242 0284 0242 0284 0242 0284 0242 0284 0242 0284 0242 0284 0241 0284 0242 0284 0242 0284 0241 0284 0241 0284 0241 0284 0241 0284 0241 0284 0241 0284 0241 0284 0203 0413 0500" any ideas on how to split this data
Reply
Answers (
3
)
password textbox
array please I need help