hey all,
i have a little question and i can't figure it out myself how to do it
here it comes
I have two names e.g. "michael" and "Michelle"
now i want construct to count the letter but not in a normal way but more like this
m = 2, i = 2, c = 2, h = 2, a = 1, e = 3, l = 3
so that it would sum it up like this:
2-2-2-2-1-3-3
And then (i don't now if it is possible but i still ask it ) i want it to count the number up like this
2-2-2-2-1-3-3
first + last, so you get 5 and again 5 and then 3 and last the 2
so you will get this
2-2-2-2-1-3-3
5-5-3-2
7-8
78
So that in the end i will have two numbers, i know it seems a little hard and that's why i don't know how to do it, and i need a little push in the good direction so i know were to start.
If someone can help me out with this i will be very gratefull
(my english isn't that good so there can be a few mistakes in my question)