Scala的replace