substrings

i am trying to figure out how to get substrings from the users input. for example is the user enters wshoocskes as the input. i would ask the how many substrings would there be if the use enter 2, then the out put would be Output from sub-string 1: whose and Output from sub-string 2: socks. Does anyone know how to do this
Topic archived. No new replies allowed.