+-------[ April Lekin ]---------------------- | In Python I'm building this error message: | | l_errorMessage = "These IDs have Errors" | Loop | l_errorMessage = l_errorMessage + " %s " % (ID) | end loop | | return l_errorMessage. | | How can I put breaks (returns) between the IDs so each ID will be | displayed on it's own line? | like: | | These IDs have Errors: | 1 | 46 | 76 | 45
try this; errors = ['These IDS have errors'] loop errors.append(ID) end loop return '<br>'.join(errors) -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )