http://www.vb-helper.com/HowTo/text.zip Purpose Text manipulation subroutines: - GetToken - NumLetterWords - NumSpaceWords - ReadFromFile - ReplaceSubstring - SaveToFile The file also briefly tells how to use several useful Visual Basic string manipulation functions. Disclaimer This example program is provided "as is" with no warranty of any kind. It is intended for demonstration purposes only. In particular, it does no error handling. You can use the example in any form, but please mention www.vb-helper.com.