right(a,16)
I might be wrong but i thing you also need to check if

trim(right(a,16))<>""

to make sure blank values are not copied?