14.7.2 Dynamic Replace Strings - Continued

We ran our previous example with some inconsistently quoted text, and we get:

Netscape: Untitled

File Edit View Go Communicator
Location:
Enter text with double-quoted sections:

Formatted text:

I said, Hello there!
He stated: Madam, I'm Adam.
This is the last quote for our example.

Our text, though mis-quoted, was nonetheless properly bolded.

The SANDCALL callbacks are also passed several parameters. By combining these with the state variables, we can construct complex parsers (next page):

Back: Dynamic Replace Strings Next: Parsing Forms with SANDCALL
Copyright © 2024 Thunderstone Software LLC. All rights reserved.