partial function charat