Added parsing of string to array.