I found this on the Internet:
char[] characters = "this is a test".ToCharArray();
but this array is in the array char. I would like to be able to store it in an array Stringbecause of the function that I use after it only works with String.
Or is there another way to put all the letters in an array, and then select the index of the array, where the value matches the letter from the array.
Like this:
String[] alphabet = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " "};
Now the first letter char[]will be "t".
Now I need an index: 19, which will be stored in the list.