Substring Position Finder - Coding problem | OneNoughtOne