I am practicing for interviews and I am given a question to create the String method indexOf
without the use of string methods. My first thought was to process the String into a char[]
but I am not sure how to do so without the use of .toCharArray()
If anyone has ever had this interview question asked to them I would love your input.