reading characters from string

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.

i am stuck...
Read? Or write to screen?
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.
Can you tell whats your logic, as to what you think could help with this program?

Topic archived. No new replies allowed.