Changes to array and string.trim

Check docs