DIPlib Documentation - ©1995-2013 Quantitative Imaging Group, Delft University of Technology.

# StringCompareCaseInsensitive

Compare two strings without minding case

## SYNOPSIS

`#include "dip_string.h"`

dip_Error dip_StringCompareCaseInsensitive ( orig, copy, verdict )

## FUNCTION

This function uses the `strcasecmp` (or `stricmp`) function to compare `orig` and `copy`. If the strings are different, an error is generated, or `verdict` obtains the value `DIP_FALSE`, if it is not zero.

## ARGUMENTS

Data type | Name | Description
`dip_String` | `orig` | The original string
`dip_String` | `copy` | The fake (or not) string
`dip_Boolean *` | `verdict` | Verdict of the comparison

## SEE ALSO

`StringAppend`, `StringCat`, `StringCompare`, `StringCopy`, `StringCrop`, `StringNew`, `StringReplace`, `UnderscoreSpaces`