README.md
December 4, 2022 ยท View on GitHub
Description
This VB5 program can parse large text files reading in a chunk at a time and will replace UNIX Lf chars with Windows CrLf's, or vice-versa.
It uses API to boost performance and is very fast. Demonstrates finding and replacing text that crosses over the chunk boundaries - and is further complicated by the need to access the previous char to avoid replacing a Lf with CrLf if already preceded by a Cr.
Uses no VB6 only functions and is just 32k compiled with no compiler optimizations.
Includes word list to parse - a tiny file really at 4.5 MB but parses in a blink even in the IDE.
Hope someone finds it interesting, or even useful!
Happy coding,
Rd :)
More Info
| Submitted On | 2011-07-16 19:33:12 |
| By | Rde |
| Level | Advanced |
| User Rating | 5.0 (20 globes from 4 users) |
| Compatibility | VB 5.0, VB 6.0 |
| Category | String Manipulation |
| World | Visual Basic |
| Archive File | Fix_Line_E2208397172011.zip |
API Declarations
Couple of API's