DEBLANK

 

 Strip trailing blanks from end of a string.

  DEBLANK(S) removes the trailing blanks and any null characters from

  the string S.  A null character is one that has an absolute value of 0.