string.h
changeset 5101 797a070e5b22
parent 4300 687a17c9c557
child 5108 dc67d70b5a45
equal deleted inserted replaced
5100:f9d3e09bb0e2 5101:797a070e5b22
    27 
    27 
    28 /** Scans the string for valid characters and if it finds invalid ones,
    28 /** Scans the string for valid characters and if it finds invalid ones,
    29  * replaces them with a question mark '?' */
    29  * replaces them with a question mark '?' */
    30 void str_validate(char *str);
    30 void str_validate(char *str);
    31 
    31 
       
    32 /** Scans the string for colour codes and strips them */
       
    33 void str_strip_colours(char *str);
       
    34 
    32 /**
    35 /**
    33  * Valid filter types for IsValidAsciiChar.
    36  * Valid filter types for IsValidAsciiChar.
    34  */
    37  */
    35 typedef enum CharSetFilter {
    38 typedef enum CharSetFilter {
    36 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff
    39 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff