convert string to array ie7 workarround

This is a workarround for IE7 where strings can't be used as arrays directly.