Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!torn!cs.utexas.edu!zaphod.mps.ohio-state.edu!wupost!spool.mu.edu!umn.edu!csus.edu!sfsuvax1.sfsu.edu!emclean
From: emclean@sfsuvax1.sfsu.edu (Emmett McLean)
Subject: Re: A verb to trim spaces from a string
Message-ID: <1992Dec13.001742.23630@csus.edu>
Sender: news@csus.edu
Organization: San Francisco State University
References: <memo.805450@cix.compulink.co.uk>
Date: Sun, 13 Dec 1992 00:17:42 GMT
Lines: 9

   Here is an alternate set of verbs which take
   or tail until there is no match. 
   
   rtrim =. ' '&$: : (}:@]^:([ = {:@]))
   ltrim =. ' '&$: : (}.@]^:([ = {.@]))
   ctrim =. ' '&$: : ([ ltrim [ rtrim ])

   Emmett emclean@sfsuvax1.sfsu.edu
   
