hello, I'm trying to get the index of the last backslash from a string in python.
The problem I have is that the backslash before the last quotation mark, cancels out the quote. eg: string.rfind("\") will error, because technically the string isn't closed (as a backslash before a quote escapes it). what's the best way of doing this? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---