Reading the source code of the "slice" filter in Django it looks to me like it should work on strings as well as lists. If you only need to truncate and discard the extra characters, that would be the way to go.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---