What's the shortest way to do this in Python?
string = " xyz"
must return index = 3
>>> s = " xyz" >>> len(s) - len(s.lstrip()) 3