substitute :props in strings