ctos

Top  Previous  Next

Scripts > Class elements and c++ instructions > String manipulation > ctos

 

Prototype

 

str ctos(char xc)

 

Description

 

Converts a character into an str.

 

Return value

 

returns a string, which contains xc as single character.

 

 

Example:

 

str s = "hello";

s = ctos( s[ 0 ] );

// s == "h";

 

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German