dash-trailing:string — ordinary primitive
FORTH
-TRAILING
( str-ptr str-len -- str-ptr str-len' )( | ) ; |
; |
check the given buffer if it contains whitespace at its end. If so, shorten str-len to meet the last non-whitespace character in the buffer.
dpANS 17.6.1.0170 - standard forth word