I'm not quite sure what you're asking. Val1 through Val4, are those string objects? Are you trying to assign those strings to elements in a character array?
First of all i am going to assume that val1, val2.... are string objects, in which case you can initialize them with a cstring like so: string val1 = "123ee";
That basically acts as a normal cstring, like a pointer to a multitude of characters. So, when you try to say val1[0] = '123ee';
it doesn't work because it expects a single charcter i.e. 'a'.
You could try: