string buf; // create a string
buf ~= "text"; // append some text
char c = buf[length-1]; // get the last char

Reply via email to