Progress 4GL: Regarding TRIM function

Status
Not open for further replies.
T

tom01

Guest
I am having trouble with a really simple issue, but can't find an answer online. I want to display a string without succeeding space characters, so using TRIM.

def var w-test as char init "abcdefghijklm " format "x(30)".
display trim(w-test).


gives me

┌────────┐
│abcdefgh│
└────────┘


so does using

trim(w-test, " ").


No doubt I am being silly, but does anyone have any thoughts?

Thanks for your time.

Continue reading...
 
Status
Not open for further replies.
Top