how do I count spaces at the beginning of a string?

walterbyrd walterbyrd at iname.com
Wed May 16 22:02:18 EDT 2007


The strings start with whitespace, and have a '*' or an alphanumeric
character. I need to know how many whitespace characters exist at the
beginning of the string.




More information about the Python-list mailing list