The TRIMB function returns a data string equivalent to strng without trailing blanks. TRIMB works on data strings only.
TRIMB: Functions