[comp.lang.icon] strip

CELEX@HNYMPI52.BITNET (02/25/90)

 
We use for removing unwanted characters from a string the following
method:
 
(&unwanchar is the set of the unwanted characters)
 
while string[upto(&unwanchar,string)+:1] :== ""
 
                                            Hope this helps,
                                            Marcel Bingley
 
                                                        C
 
                                                              C
   --   C E L E X   --                            C        C      C
                                                       C
 University of Nijmegen                                          C    CCCCCC
 Wundtlaan 1                                                C     CCCCCCCCCCCCC
 6525 XD  NIJMEGEN                       C           C    C     CCCCCCCCCCCCCCCC
 The Netherlands                                            CCCCCCCCCC        CC
                                                      C    CCCCCCCC
                                                          CCCCCCCC
 Tel: (+31) (0)80 - 512117                                CCCCCCCC
                  - 515797                               CCCCCCCC
                                                         CCCCCCCC
 EARN/BITNET:   celex@hnympi52                           CCCCCCCC
 Internet:    celexmail@celex.surfnet.nl                  CCCCCCCC
 SURFNET:  celex::celexmail                               CCCCCCCC
 JANET:  celex%hnympi52@earn-relay                         CCCCCCCCC
 PSI:  020418802007380::celexmail                            CCCCCCCCCCC