Quote:

363???
||
||
Have to check word shift...




Wrong word shift. Actually I think all posted solutions are wrong!!!


Consider:
vigenere('AA AA','A') ?
vigenere('AA AA. AA AA','A') ?

With Lonk's latest code this gives:
CC DD
CC DD. DD EE

I think the second one should be CC DD. CC DD
This because after the second space the first word in the second sentence starts. Therefore the result should be the same as the first word in the first sentence, CC.

Comments please!
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...