updating docs for startsWith/endsWith