1*e6d6c189SCody Peter MelloBEGIN { 2*e6d6c189SCody Peter Mello s = "Volume 8, Numbers 1-2 / January 1971" 3*e6d6c189SCody Peter Mello n = split(s, parts, "[^-A-Za-z0-9]+") 4*e6d6c189SCody Peter Mello print "n =", n 5*e6d6c189SCody Peter Mello for (i = 1; i <= n; i++) 6*e6d6c189SCody Peter Mello printf("s[%d] = \"%s\"\n", i, parts[i]) 7*e6d6c189SCody Peter Mello} 8