Arduino Loading doesn't work
If you know that your while loop isn't working as expected, I'd instrument the while loop and see if it parses as you expect:

for (int i = 0; i &lt; arraysize; i++) {
  while (file.available()) {
    character23 = file.read(); 
    if (character23 == '\n') break; 
    if (character23 != '^') { 
      content += character23; 
    }
    Serial.print(i);
    Serial.print(':');
    Serial.print(character23);
    Serial.print(':');
    Serial.println(content); 
  } 
  content.trim(); 
  if (content != "") { 
    result[i] = content; 
    content = "";
  } 
} 


Are you certain it is working the first time?