Writing A Linear Search In String