Glenn wrote:
> I would think the TRIM would be the easiest and fastest way:
>
> PETE="THIS}IS }}}A TEST}}}"
> CRT TRIM (PETE, @VM, "R")
>
> which would remove all redundant @VM marks. Someone
> suggested this earlier but I saw no comment to it.
I don't have a system to test this on, but what if the record were had
leading @VMs? As far as I can tell from Jonathan's post, he doesn't care
about the position of the blank values, he just wants them removed. Doesn't
the "R" mean "only trim from the right"?.
KEN="}}}THIS}IS }}}ALSO}A TEST}}}"
IF TRIM(KEN, @VM, "R") = TRIM(KEN, @VM) THEN
CRT "Ken is worrying about nothing"
END ELSE
CRT "Ken has a valid point"
END
Cheers,
Ken
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users