RTRIM$ Function Details Syntax RTRIM$(stringexpression) The stringexpression can be any string expression. The RTRIM$ function works with both fixed- and variable-length string variables.