while(a=fgetl(0))>0b=a(end);a(end)=a(1);a(1)=b;disp(a)end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page