Home > dev > api > name > gb.strcasecmp 
 en fr de es it nl pl pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
GB.strcasecmp
int GB.strcasecmp ( const char *s1 , const char *s2 )

This is a locale insensitive replacement for the glibc strcasecmp() function.

You must use this function instead of the standard glibc one to compare ASCII strings in a case unsensitive way, because the glibc one is localization aware.

And if you did not know yet, in turkish, strcasecmp("i", "I") != 0.

See also

api/cat/string