"I'm trying to put the first 8 characters of the filenames from SD card into an array"
So, if the file name is fart.wav, you want to save all 8 of them in the array. Later, then, you'll try to replay fart.wav.wav. I get it now.
"I'm trying to put the first 8 characters of the filenames from SD card into an array"
So, if the file name is fart.wav, you want to save all 8 of them in the array. Later, then, you'll try to replay fart.wav.wav. I get it now.