src/string.h
changeset 6248 e4a2ed7e5613
parent 6215 bbd141b026b5
child 6420 456c275f3313
equal deleted inserted replaced
6247:7d81e3a5d803 6248:e4a2ed7e5613
    35 void str_strip_colours(char *str);
    35 void str_strip_colours(char *str);
    36 
    36 
    37 /**
    37 /**
    38  * Valid filter types for IsValidChar.
    38  * Valid filter types for IsValidChar.
    39  */
    39  */
    40 typedef enum CharSetFilter {
    40 enum CharSetFilter {
    41 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff
    41 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff
    42 	CS_NUMERAL,           //! Only numeric ones
    42 	CS_NUMERAL,           //! Only numeric ones
    43 	CS_ALPHA,             //! Only alphabetic values
    43 	CS_ALPHA,             //! Only alphabetic values
    44 } CharSetFilter;
    44 };
    45 
    45 
    46 /** Convert the given string to lowercase, only works with ASCII! */
    46 /** Convert the given string to lowercase, only works with ASCII! */
    47 void strtolower(char *str);
    47 void strtolower(char *str);
    48 
    48 
    49 
    49