Add startsWith, endsWith, indexOfSlice, and containsSlice