a simple string question

vedrandekovic at v-programs.com vedrandekovic at v-programs.com
Fri Jul 27 17:23:13 CEST 2007


Hello,

I have one question about string.I am trying to make an function to
analyze line  of some text, this is my example: "HELLO;HELLO2:WORLD:",
 if that function in this text find ";" and ":" ( in this example will
find both)

e.g  that function must return this:


"HELLO;\nHELLO2:\n\t\t\t\t\t\t\tWORLD:"




Regards,
Vedran




More information about the Python-list mailing list