Make the escapable character a function argument