Make startswith and endswith work - Issue #35

This is Issue 119 in Google Code