The string s below has single and double qoutes in it. For testing I
surrounded it with triple single quotes. I want to split off the
portion before the first \, but my split that works with shorter
strings does not seem to work with this one.

Ideas?

Thanks,
jvh

s = ''''D132258\',\'\',
\'status=no,location=no,width=630,height=550,left=200,top=100\')"
target="_blank" class="dvLink" title="Send an Email to selected
employee">'''

t = s.split('\\')

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to