[chuck-users] working with strings

Atte André Jensen atte at email.dk
Thu Jul 12 03:13:26 EDT 2012


Hi

Is it possible to split a string into an array of chars? Or work with 
parts of strings in other ways?

src/util_string.h mentions these string related functions:

std::string itoa( t_CKINT val );
std::string ftoa( t_CKFLOAT val, t_CKUINT precision );
std::string tolower( const std::string & val );
std::string toupper( const std::string & val );
std::string trim( const std::string & val );
std::string ltrim( const std::string & val );
std::string rtrim( const std::string & val );

I couldn't find some of them (like ltrim) in the manual, although they 
were mentioned in examples. Shouldn't they be mentioned in the manual?

-- 
Atte

http://atte.dk   http://modlys.dk



More information about the chuck-users mailing list