I'm pretty familiar with making an array with hardcoded information. But what's confusing me is the array with user input.
Scanner input = new Scanner(System.in);
System.out.println("Enter String to use: ");
String list = input.nextLine();
String trimmedword = list.trim();
System.out.println("Enter Index: ");
int index = input.nextInt();
Is what I have to start with.
I'm using the trim because I need to able to manipulate this array with the index choice. So I need to turn that trimmed string into an array.