Hello,
I need to remove all occurrences of apostrophes within a text fields, I'd appreciate any help.
I am importing data from a RPGLE environment to a VB.Net environment; I usually remove apostrophes after importing, however I have fields that are now part of the file key and therefore need to be cleaned up on the RPGLE level.
(1) How would an apostrophes be identified in RPG, would I use a quotation within the apostrophes used as text identifiers to declare it?
(2) How would I remove all the occurences of apostrophes within a text field?.... preferably using free format code?
Thanks in anticipation. Once again, I appreciate any help.
I need to remove all occurrences of apostrophes within a text fields, I'd appreciate any help.
I am importing data from a RPGLE environment to a VB.Net environment; I usually remove apostrophes after importing, however I have fields that are now part of the file key and therefore need to be cleaned up on the RPGLE level.
(1) How would an apostrophes be identified in RPG, would I use a quotation within the apostrophes used as text identifiers to declare it?
(2) How would I remove all the occurences of apostrophes within a text field?.... preferably using free format code?
Thanks in anticipation. Once again, I appreciate any help.
Comment