function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Miranda L 2Miranda L 2 

How to remove parenthesis from (dh, ph, kh, ab, cd)

Hello,
I am assigning list value to a text field but while assigning there are parenthesis which I want to remove so I used remove method but I am using it two times to remove it. Is there a way to use at once or some other tricks
Test Product Item	(dh, ph, kh, ab, cd)

Test_Product_Item__c   = invoiceWrapped.product_items.toString().replace('(','').replace(')','')

Thanks
AbhishekAbhishek (Salesforce Developers) 
Try the suggestions as mentioned in the below blog,

https://developer.salesforce.com/forums/?id=906F00000008xtJIAQ

Thanks.