Correct. On next line I reuse srcLen so I like how it looks right now.
Change to ::npos?