To remove the specific text/string from sentence

Certified Associate Developer

Hi,

I have a value to display and it comes from DB. The value for example is "Consistency Assessment completed – Artwork updates are NOT required – Specify reasons in comments"

SO now before displaying it I have to remove this part "– Specify reasons in comments" and display only "Consistency Assessment completed – Artwork updates are NOT required".

Can some one please help how to strip that comments part.

Thanks in Advance.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data