1function foo() { 2 return "aaaaaab" 3} 4 5BEGIN { 6 print match(foo(), "b") 7} 8 9{ 10 print match(substr($0, 1), "b") 11} 12