Support <length> and <percent>

oh, never mind. You mean any substring, not just at the start.