Added condition to use replace only on strings
Authored by: prudhvireddy 2012-07-23
Parent: [r6281]
Child: [r6283]