How many characters can a string hold?

I need to read a very long string and pass it to an external exe. I am currently using a string to store the data, but when it is over 255, the string gets messed up...

Any ideas?


thanks