1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Progress 4GL: Why TRIM function cannot help here?

Discussão em 'StackOverflow' iniciado por fdantas, Setembro 2, 2020.

  1. fdantas

    fdantas Administrator Moderador

    I am new to this language. I used TRIM function to remove space characters but I am not sure how to remove it after each comma(,).

    DEFINE VARIABLE cdata AS CHARACTER NO-UNDO INIT " one, two, three, four ".

    DISPLAY trim(cdata) FORMAT "x(70)".


    The display value is "one, two, three, four". Why I cannot remove the space characters after each comma(,)?

    does any one have thoughts?

    Continue reading...

Compartilhe esta Página