Would this simply work?
PChar(YourStringVariable)