Revert "Remove character Function"

This reverts commit 19c25d738094b74a63f6e14f1ee2ecb3eac32fbf.