Minor changes to issue #83 fix: int overload of indexOf, fix formatting