substitute :props in strings.