Returns the string with all trailing space characters removed. Example: @text = " Spaces all around!! " echo String: [@text] echo String: [%stringTrimTail( @text )] Output: String: [ Spaces all around!! ] String: [ Spaces all around!!]