How to convert String to char*

I'm getting next to nothing from your code fragments.

Perhaps more code and a description of what you're doing would entice others to provide more useful suggestions?