Added a pre-convert check for string to char convert

This prevent cases where users input multiple char when a char type is expected (e.g. /processorParam:FirstCharacter=abc which would throw a format exception).