in reply to Hash of Arrays

ok i can get it to store into a hash...but what if there are leading spaces and trailing spaces for the key (on the left of the ::= and leading and trailing space to the string on the right of the ::= how can i can strip those before i store it? thanks for any help.