Fix bug with getFirstChapter and added getter method. Also moved methods
to StringUtil class.