STRIPBLANKS (51) FUNCTION (.5)
Name
Value
NAME
STRIPBLANKS
MUMPS CODE
X:X[" " "F %=0:0 Q:$A(X)-32 S X=$E(X,2,999)","F %=0:0 S %=$L(X) Q:$A(X,%)-32 S X=$E(X,1,%-1)"
EXPLANATION
DELETES LEADING AND TRAILING SPACES FROM THE ARGUMENT STRING