i have a string which is n characters long. i need to read say 20 characters at a time, wait for the user to type OK and then send another 20 characters. wait for the user to type OK and send 20 characters again until we get to the nth character.
ok, i am reading from a string and then write to the screen. let me rephrase my question then...
i have a string which is n characters long. i need to read say 20 characters at a time, wait for the user to type OK and then write 20 characters to the screen. wait for the user to type OK and write 20 characters to the screen again until we get to the nth character.