+ Start a Discussion


Is there a way I can so a String.replace('old', 'new')   with in VF?  Not using a controller


Does a output panel allow this?


What I am trying to do is replace/escape  newlines chars


You can replace characters on the page using the SUBSTITUTE function, e.g.


{!SUBSTITUTE(Opportunity.Name, 'i', 'e')}


When I do the above, an opportunity name of 'Price Match' is displayed as 'Prece Match'.



parthipan francisparthipan francis
thanks Mr.bob it'z could be work on nice and very useful for me.