Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Location
    zxczxczxc
    Posts
    52

    Unanswered: Replacing Control-M Character

    Hi,
    I want to know how to replace Control-M character in a filed with space in informix. Any idea how to do it.


    Bye.
    zxczxczc

  2. #2
    Join Date
    May 2004
    Location
    New York
    Posts
    248
    if you are talking about a file then

    :g/^V^M/s///g

    actualy hit the keys control-V and Control-m, the control-V will be invisibale

  3. #3
    Join Date
    Apr 2004
    Location
    zxczxczxc
    Posts
    52
    Hi,
    Its not in the file. I have control characters in some fileds of the database. When i read the column and if there is a contorl character in the filed, i should replace that control character with a space and write it to a file.


    Bye.
    zxczxczc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •