Splited new-char-value function into char-value and alphabetical-value functions