stoc |
Top Previous Next |
Scripts > Class elements and c++ instructions > String manipulation > stoc
Prototype
char stoc(const str& xs)
Description
Converts an str into a character.
Return value
Returns the first character of the string xs or, if the string is empty, '\0'.
Example:
char c = stoc("hello"); // c == 'h'
|
This page belongs to the TextTransformer Documentation |
Home Content German |