Using new String and charAt will make it even faster