On Tue, Jul 20, 2010 at 4:50 PM, Puneeth <puncha...@gmail.com> wrote: > On Tue, Jul 20, 2010 at 4:43 PM, Carsten Dominik <domi...@uva.nl> wrote: >> Please show me the full line of code, I am currently editing a python script >> without any knowledge of python... > > my_string = "Hello\nWorld" > my_new_string = my_string.replace("\n", "\n> ")
Sorry, this code (obviously) doesn't prepend ">" to the first line Add this line to do that. my_new_string = "> " + my_new_string > HTH, > Puneeth > -- Puneeth _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode