walterbyrd wrote:
> I don't know exactly what the first non-space character is. I know the
> first non-space character will be  * or an alphanumeric character.
>
>   
using builtin function rindex
 st = 'asblde  '
 >>> st.rindex(' ')

sph


-- 
HEX: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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

Reply via email to