in reply to splitting directly to hash

Hi, narashima. What have you tried so far? If you want a hash with blank values, why not simply split your string into an array? Or, if you want it in a hash for lookup purposes, consider putting some kind of placeholder in as the value (like a 1, for example).