File f ( T("C:\\filepath\\filename.txt" );
String s ( T( "Love is the law, love under will." ) );
f.replaceWithText ( s );
// or....
f.appendText( s );
But what if for some reason I don’t want to use the File class? Is there no way to get the String buffer? It doesn’t matter now as I’ve redesigned the code to use File but it seems a touch odd.