String (computer science): Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 9:
</PRE>
The above example is how "FRANK" would look in a 10 byte null-terminated string. Characters after the 0 are ignored by the computer.
 
 
An alternate mechanism defines the first character of the string to be the length of the string. This definition limits strings based on 8 bit bytes to a maximum length of 255 characters.