Is any direct function is available for the complement of the char variable
The answer is the same: ~.