Home | All Classes | Grouped Classes | Index | Search
ClanLib string class. More...
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
Operations:
Loads a string from a resource. | |
Returns the first n characters of the string | |
Returns the last n characters in the string | |
Converts from an integer to string. | |
Converts from an float to string. | |
Converts from an double to string. | |
Returns "true" or "false" based on a boolean. | |
Converts a string to a boolean. | |
Converts string to an integer. | |
Converts string to a floating point number. | |
Converts string to a double precision floating point number. | |
Returns the string with all characters converted to lowercase. | |
Returns the string with all characters converted to uppercase. | |
Breaks up the string into tokens. | |
Does a case insensitive compare of string to other string. | |
Returns the path part of a pathname (path+filename). If no path part is found, "." is returned. | |
Returns the filename part of a pathname (path+filename). If no path part is found, the entire string is returned. | |
Returns the extension path of a filename (text after the last dot). If no extension part is found, an empty string is returned. | |
Returns a string trimmed for space characters in both ends of string. | |
Returns a string trimmed for whitespace characters in both ends of string. | |
Return a string with C style escapes ({'\','n'}, {'\', 't'} etc.) replaced with the real escapes ('\n', '\t'). |
Detailed description:
!group=Core/System! !header=core.h!This is a general purpose string class with formatting capabilities.
Example: str::string s = CL_String::format("You rock my %1, %2 (%3)", "world", name, 47);