The String class is provided for handling character strings.
Note that String inherits from List, which implements methods common to Arrays and Strings.
The String methods are listed below.
char * body( void )
int compare( char const * str )
str
and returns an integer value indicating the result of the comparison: a negative integer value if this
is less than str, zero if they are equal, and a positive integer value if this is greater
than str.String* concat( String * head, String * tail )
String* create( int len )
String* create( char const * str )
String* create( char const * str, int len )
char * cstr( void )
String* format( char const * fmt, ... )
int indexOf( String * s )
bool startsWith( String * prefix )
String* substr( int pos, int len )
pos within this String.String* toLowerCase( void )
String* toUpperCase( void )