|
Not sure if I'm understanding you correctly, but this is what I use when I need to find an apostrophe or use one in my program. There's also a hex code you can use which I don't recall off-hand but I'm sure before I even hit send someone else on the list will have already replied with it. =)
D apostrophe...
D C ''''
I am using xlate to strip out unwanted characters from our barcode
file......and replacing it with a blank.
All things considered it is working well....except for the apostrophe.
Any idea how to include that in the list without causing the compiler to
balk at me?
Here is the D spec
0003.01 D@INV c CONST('!@#-c-&\}|NOT{?><.`~||(),*$+-%
0003.02 D ;:"ABCDEFGHIJKLMNOPQRSTUVWXYZ.')
Since the ' is the delimiter for a character field....is there anyway for
me to test for it?
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.
As an Amazon Associate we earn from qualifying purchases.
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.