Moving string procedures to new function interface
Finally removing all instances of the legacy c-function interface.