I have a some text fields which I am using to populate a listview box, but I can't arbirtrarily limit the maxt no of characters for any given entry.

What I intend to do is have it take any words that would not fit on one line onto the next line.

I'm kind of at a loss as I have never really had to do any string manipulation in VB before, but as I see it there are two things I need to do. I know beforehand how many lines I will need for a given string, as well as how many characters can fit on each line.

For example, if I had a 50 character string and could fit 35 characters per line, I would go to character 35 and work backwards until the first space, splitting the string there.

What I need to know is
a) is there any kind of a function to split a string into two or more smaller strings?
b) how do I manipulate a string character by character?

also if you happen to know the ascii code for a blank space that would be most appreciated.