How To BOLD Specific Text In String

Hi All,

I am creating a Word document with string variable data and I want to bold some specific text or Headers in it. But I am not able to do that, so if anyone have any solution then please let me know.

thanks!!!

Have you tried String.Replace?

Yes, I have tried but didn’t work.

Hi @Rajneesh_Kumar

can you please try with below thread.

Hope it helps!!!

I have gone through with this but I didn’t understand how to use it.