How to make part of cell value as subscript in a document table

I have a cell text value as Abb . Now bb is subscript, how to achieve this?

@swapnavr

Are you working with the PDF format? Can you please share some code snippet and details with us so that we can test the scenario in our environment and address it accordingly.