src/cx/string.h

changeset 1176
247db6e629ad
parent 1162
e3bb67b72d33
child 1180
4c3a69b9723a
equal deleted inserted replaced
1163:68ff0839bc6a 1176:247db6e629ad
949 cxstring string, 949 cxstring string,
950 cxstring suffix 950 cxstring suffix
951 ); 951 );
952 952
953 /** 953 /**
954 * Converts the string to lower case.
955 *
956 * The change is made in-place. If you want a copy, use cx_strdup(), first.
957 *
958 * @param string the string to modify
959 * @see cx_strdup()
960 */
961 void cx_strlower(cxmutstr string);
962
963 /**
964 * Converts the string to upper case.
965 *
966 * The change is made in-place. If you want a copy, use cx_strdup(), first.
967 *
968 * @param string the string to modify
969 * @see cx_strdup()
970 */
971 void cx_strupper(cxmutstr string);
972
973 /**
974 * Replaces a pattern in a string with another string. 954 * Replaces a pattern in a string with another string.
975 * 955 *
976 * The pattern is taken literally and is no regular expression. 956 * The pattern is taken literally and is no regular expression.
977 * Replaces at most @p replmax occurrences. 957 * Replaces at most @p replmax occurrences.
978 * 958 *

mercurial