New to scala. I have a key value file containing
key1=value1~value2
key2=value3~value4~value5
key3=value7~value8
I want to load it to a map from a file. I want to find and match if I receive key1 or key2 at run time. Then store the corresponding values (separated by ~) to a vector. So that I can do foreach on the vector and perform different things based on the value.
Vector
should look like (i.e. its contents) along with whatever code you've tried so far. – jwvh