You need to sign in to do that
Don't have an account?

need help in trim the string
Lead comments field: hakke&trade, polylab&trade
actually fron end sending hakke with trade mark(TM) symbol, the value is diplaying in salesforce field value as hakke&trade
i want remove the &trade after the hakke and the value should be display as "hakke".
please help me out solve the problem
thanks for your help in advance.
actually fron end sending hakke with trade mark(TM) symbol, the value is diplaying in salesforce field value as hakke&trade
i want remove the &trade after the hakke and the value should be display as "hakke".
please help me out solve the problem
thanks for your help in advance.
Please save your sting below format
hikke™
Regards,
Chandra Prakash Sharma
Bisp Solutions Inc.
http://bisptrainings.com
if you want to remove &trade value please use below function.
<script>
function myFunction()
{
var str = "hakke&trade";
var res = str.slice(0,5);
document.getElementById("demo").innerHTML=res; // this is lable name you can change it id ...
}
</script>
Regards,
Chandra Prakash Sharma
Bisp Solutions Inc.
am not using any java script functionality, it is standard page.
have the apex class custom field lead_mark__c, the product is displaying like HAAKE™
is it possible to using collection to change all records &trade for that field?
Thanks