Adding some comments on the sub_string.py functions that I added to searchresult.py