Fundamentals of CS I (CS151 2001S) : Reference

char-ci=? - check whether characters are equal, ignoring case

Predicatechar-ci=?
Parametersc1 ... cn, n characters
PurposeDetermines whether or not the characters are all equal, ignoring case.
ProducesA Boolean value: true (#t if ci is equal to ci+1 for all reasonable values of i.
PreconditionsAt least one parameter (verified).
All the c's are characters (verified).
PostconditionsThe result is a Boolean value.
Examples
> (char-ci=? #\a #\a)
#t
> (char-ci=? #\a)
#t
> (char-ci=?)
char-ci=?: expects at least 1 argument, given 0
> (char-=? #\a #\A)
#f
> (char-ci=? #\a #\A)
#f
> (char-ci=? #\1 #\1)
#t
> (char-ci=? #\1 1)
char-ci=?: expects type <character> as 2nd argument, given: 1; other arguments were: #\1
See Also
  char<?,
  char-ci=?,
  char>=?,
  char>?,
  char-ci<?,
  char-ci=?,
  char-ci=?,
  char-ci>?,
  char-ci>=?,
  char->integer,
  integer->char

Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This page was generated by Siteweaver on Thu Feb 22 05:47:37 2001.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2001S/char-ci-equal-p.html.
You may validate this page's HTML.
The source was last modified Sun Feb 4 21:32:13 2001.