How do I read string from otg?

How to read string from otg please help

Have you consulted the information about OTG in this Community?

https://community.appinventor.mit.edu/search?q=otg

Yes, but found nothing good

Do you mean read a string from a serial converter or Arduino connected with an OTG adapter cable to the phone?