What kind of an array? The String class has a method that will create an array from a String.
Or create the array and use another String class method to get the characters one by one and store them into the array.
BTW array indexes start at 0. L's index would be 2, W 's is 0