[Stackoverflow] [Progress OpenEdge ABL] Progress 4GL: Why TRIM function cannot help here?

Status
Not open for further replies.
T

Thiru

Guest
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(,).

Code:
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...
 
Status
Not open for further replies.
Top