1BEGIN { 2 Value = "abc" 3 4 print "Before <" Value "> ", index( Value, "bc" ) 5 6 sub( /bc/, "bbc", Value ) 7 8 print "After <" Value ">", index( Value, "bc" ) 9} 10