Transforms a string concatenation to the equivalent expression with a str.format() method call.