strwidth() has been added in Vim 7.3.

Let's hope people still using Vim 7.2.x don't edit UTF-8 files. :)