Replaced string operation with string.format().