Inspect and replace with double quotes

Sort:
You are not authorized to post a reply.
Author
Messages
jcarrott
Basic Member
Posts: 7
Basic Member
    I am trying to inspect for a character "#" and the replace it with a " (double quote) on a windows system.
    The system does no seem to support single quotes or hex.
    I used "#" as a simple place holder that I wanted to replace with a double quote.
    Does anybody know how to do this?
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      Do you mean in COBOL?
      Thanks for using the LawsonGuru.com forums!
      John
      Phil Romov
      Veteran Member
      Posts: 44
      Veteran Member
        What are you inspecting? Most text editors have a "search and replace" function

        By the way, cobol does support hex:
        02 WS-HEX-VALUE PIC X VALUE X"41".
        DISPLAY "HEX VALUE: " WS-HEX-VALUE.

        HEX VALUE: A
        You are not authorized to post a reply.