On Fri, 3 Nov 2006, Brad Stone wrote:

That's what I planned on doing, unless there is an easy
way.

In other words:

Scan string
If found, check for si, so positions in document.  If the
location of the scan falls between any of the si, so, then
don't do the replace.

Unless there is an easier way.  :)

Wouldn't an easy way to be write out '(' then your DBCS data, then when that write is complete write out the ')'? Why concatenate at all? You already know that you can successfully write just the DBCS data, so do that as a seperate step.

James Rich

It's not the software that's free; it's you.
        - billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.