The sdcard is a filesystem, not a database, so you cannot write a string there. You can write a file which constains a string.
To do that you can use any of the Pascal file read/write operations. For example use TStringList and TStringList.SaveToFile()... I think that the path to the sdcard is /sdcard/ or something like that.