Can you replace char based on which method calls toString()