File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / cat2 / segment.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3




SEGMENT(2)            Icon Program Library             SEGMENT(2)



NNNNAAAAMMMMEEEE
     segment - segment string

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     The procedure sssseeeeggggmmmmeeeennnntttt((((ssss,,,,cccc)))) generates consecutive substrings
     of ssss consisting of characters that respectively do/do not
     occur in cccc.  For example,

          segment("This is a sentence.",&lcase ++ &ucase)

     generates

          "This"
          " "
          "is"
          " "
          "a"
          " "
          "sentence"
          "."


AAAAUUUUTTTTHHHHOOOORRRR
     William H. Mitchell































Version 5.9    The University of Arizona - 9/11/84              1




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.