Replace variables in fromName