There was a Tokenizer object in the FileIO documentation. I can't seem to find any reference to it in the latest documentation.

Kassen, Do you know where this has gone?

Mike

http://michaelclemow.com
http://semiotech.org




On Thu, Jul 12, 2012 at 3:13 AM, Atte André Jensen <atte@email.dk> wrote:
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

_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users