message TRIM("custom/InvctReport.p", "InvctReport.p")
view-as alert-box.
The output when executing this statement is "ustom/". I am not sure why progress is trimming of only "c" from custom. The output which I would like to get is "custom/".
message replace("custom/InvctReport.p", "InvctReport.p","")
view-as alert-box.
normally we use TRIM to strip trailing spaces and such.
The TRIM function strips off each character on the "trim" list from the targert string. It's not a "here's a character sequence to remove" function.