char - How to begin SAPI speaking a few characters back? -
i have small problem in code. have programmed program find word inside . txt file , want know how make sapi speaking 5000 characters place word found inside .txt file. if have position of word in file shouldn't challenge read next 5000 characters buffer can fed speech engine. it's possible hard 5000 character cutoff leave word broken @ end may want seek ahead past point next blank space or whatever make end smoother. without knowing specifics language , platform , sapi using impossible give more detailed advice.