Hello,
I have a string in syncfusion rich text box which is "This is a good forum"
So in rich text box it is interpreted as
MyString =
This is a good forum
Now, i want to use replace function in angular 6.
I want to replace with
In MyString its coming 2 times but when i use replace function it replaces only 1st occurrence.
and 2nd occurrence remains as it is.
So how can i replace all occurrences.Please any help would be appreciated. Thank you.
- FormattedDesc =MyString.replace('', '');

Arvind KushwahaRank #685 · 3.5K reputationPosted Apr 17, 2020, 3:18 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Apr 17, 2020, 3:16 AM EDT
dip sRank #6,374 · 268 reputationPosted Apr 17, 2020, 3:25 AM EDT