string public \Bitrix\Main\DB\SqlHelper::castToChar( string $fieldName );
This non-static method returns CAST expression for converted field or string expression.