Added endWith and beginWith to strings