in reply to Wait for string

The pager function worked for me. Thanks much for the help