Woolz Image Processing Version 1.4.0
WlzStringUtils.c File Reference

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).

Detailed Description

Miscellaneous string handling functions.

Author:
Bill Hill
Date:
March 1999
Version:
Id:
77b588e2932f6e5885b21e3a9c893ae15fe28b06
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

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.