pattern java char java string valueof char c method exle