Class ToCharsFunction