Home / api / name / gb.toupper 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  mk  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
GB.toupper
Syntax
int GB.toupper ( int c )

This is a locale insensitive replacement for the glibc toupper() 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

String Management