Hows it going guys? Nuggets is back with another simple question for you java gurus here. The question is this.
How would I return a space that has been entered as input using the indexOf method? For example, if someone were to input say "first name", how would I retrieve the space that has been entered in the string?
System.out.println("Enter a variable name: "); variableName = Input.nextLine(); String variableName1 = variableName.indexOf();