TextString getCharAt - can't get it to work ...

This sounded very simple yet i can't get it to work... Here's the code where it goes wrong, most of it copied from the tutorial at

  #include <TextString.h> 
  TextString myString = TextString(15);  
  myString.setArray("What's up Doc?");   // puts a string in the array
  char thisChar = myString.getCharAt(3); // gets the fourth character in the array

my expectations would be that thisChar == 't', the 4th character in the string "What's up Doc". All tests however show that thischar == 0, thus it stays empty. Since i only have leds hooked up to the arduino that can indicate true or false results, and nothing that can actually print a line, the debugging is based on guessing, and right now i'm all out of guesses.

Anyone here who can explain what i'm doing wrong? I suppose it's quite basic, but i just don't see it...

Have you tried sending the data to the serial monitor?

Serial.println(myString.getArray()); // prints the string
Serial.println(thisChar); // prints the fourth char

Meanwhile i've found how serial works, thanks for the headsup. I've tried entering the string, then immediately had it displayed by the arduino to check if it was being stored in arduino memory correctly.

For some reason, i noticed that the string i was entering, was being cut off. At first i only got about 2-3 characters of the string being stored, just uploading the program back to the arduino, gave different results each time. Every time i uploaded the exact same program, the arduino would send 1 or 2 more characters in the string back. Extremely odd.

Sending "What's up Doc?" as a string, returned
Wh
Wha
What'
What's u
and so on every time i uploaded the program to the arduino.

Meanwhile (about 40 uploads later) i can send strings of up to 70 characters to the Arduino and have them returned correctly, and the number is still rising with every upload. I only need 64 characters so this will do. Changing the string does not influence the amount of characters the arduino sends back.

I found this result extremely weird... It was as if the memory on this Arduino (a brandnew Diecimilia) had to be softly 'woken up' a bit at a time before i could use it. I have no other way to describe it ... very very strange.

Good to hear you are making progress. Can you post the fill sketch