github.com/benhoyt/goawk@v1.8.1/testdata/t.format4 (about) 1 BEGIN { 2 text=sprintf ("%125s", "x") 3 print length (text) 4 print text 5 xxx=substr (text,1,105) 6 print length (xxx) 7 print xxx 8 exit 9 }