Conversion of String to Char

I changed the command to :- :MEASURE.PRINT
It truncates the last character.
only prints :

Initializing SD card...
initialization done.
Line read from the sd card is ::MEASURE:PRINT
14
The buffer contains: >:MEASURE:PRIN<