Notifications
Announcements
No record found.
How can I remove html tags from string in business Central,
When I fetch data from api, in my field I am getting html tags with text how can we remove it?
can you share some example? how you want?
Also I am not sure if we something to remove HTML tag from string, you can use STRSUBSTR or COPYSTR or DELSTR function to remove those tags from string.
You can go to your page also and write below statement onValidate of your text field.
currpage.TestWebsite.Setcontet(Yourtextfieldvalue)
Is the API returning html. Are you sure it is not returning XML?
I would check if you catch the correct response content from your HTML request.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,226
Jainam M. Kothari 2,047 Super User 2025 Season 2
YUN ZHU 1,257 Super User 2025 Season 2