Y.Lang.sub is not that expensive compared to indexOf. Removed.