DIPlib Documentation - ©1995-2017 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 typeNameDescription
dip_StringorigThe original string
dip_StringcopyThe fake (or not) string
dip_Boolean *verdictVerdict of the comparison

SEE ALSO

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