Joined: 20 Oct 2006 Posts: 6970 Location: porcelain throne
yes you can INSPECT CONVERT the leading and trailing char,
but I assume you want the remaining chars to be left justified.
if that is the case, run a two indexs
(or use reference modification - which is slower)
along the the source pic x(19) field only moving non-spaces
to the result pic x(19) field, incrementing after a move.
insure that the result field is set to all spaces before you start.