Update lib/string.js