C Collection of code snippets by Arne Vajhøj 
C (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
      subroutine f(s)
      character*(*) s(3)
      integer*4 i,ix
      do 100 i = 1,3
        ix = index(s(i),char(0))
        write(*,*) s(i)(1:ix)
100   continue
      return
      end
