Woolz Image Processing Version 1.4.0
|
Miscellaneous string handling functions. More...
Functions | |
int | WlzStringMatchValue (int *datum, const char *targetStr, const char *testStr,...) |
Given a destination pointer, a string, and a null terminated list of string, enum pairs. The strings are matched and the first match is used to fill in the destination with the matched enum's value. | |
int | WlzValueMatchString (char **datum, int targetVal, const char *testStr,...) |
Given a destination pointer, a value, and a null terminated list of string, enum pairs. The values are matched and the first match is used to fill in the destination with the matched enum's string. | |
char * | WlzStringWhiteSpSkip (char *str) |
Removes all white space characters (as determined by isspace(3)) from the given string. | |
char * | WlzStringToUpper (char *str) |
Converts the string to all upper case using toupper(3). | |
char * | WlzStringToLower (char *str) |
Converts the string to all lower case using tolower(3). |
Miscellaneous string handling functions.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.