Is there an equivalent to ReadLine for rich text boxes? I'm trying to take an input like this:
12345678 9123
45678912 0349
43536363 8383
26736457 9039
37474589 8484
...then add a numeric offset to each line, ignoring everything but the first eight characters of each line, then output each line to a second rich text box, readding those last five characters to each line (" 9123", for example). For example, if the input was what I have above, and the offset was 1, the output would be
12345679 9123
45678913 0349
43536364 8383
26736458 9039
37474590 8484
Does anyone know how I might accomplish this? To compound the matter, I'm going to be doing all of this in hexadecimal, but I think I can figure the conversions out myself, given a good method to read line by line...
12345678 9123
45678912 0349
43536363 8383
26736457 9039
37474589 8484
...then add a numeric offset to each line, ignoring everything but the first eight characters of each line, then output each line to a second rich text box, readding those last five characters to each line (" 9123", for example). For example, if the input was what I have above, and the offset was 1, the output would be
12345679 9123
45678913 0349
43536364 8383
26736458 9039
37474590 8484
Does anyone know how I might accomplish this? To compound the matter, I'm going to be doing all of this in hexadecimal, but I think I can figure the conversions out myself, given a good method to read line by line...