The function BWW
calculates depending on the mode the word value of a given string, the cross sum of the word value or the iterated cross sum.
alphabet mode
defines the alphabet to be used and how to deal with Ä, Ö, Ü
0: A-Z without any special characters
1: A-Z, Ä Ö Ü ß => 27 – 30
2: A-Z, Ä=AE = 1, 5, … ß=SS = 19,19
3: A-Z, Ä=AE=1+5=6, … ß=SS=19+19=38mode
0: Buchstabenwortwert
1: Cross sum
2: Iteraded Cross sum
BWW(string, alphabet mode, mode)