Re: [CODE]

From: James (prs4@monmouth.com)
Date: 07/17/00


You can use the following code:
void upper ( char *string ) {
  int i;
  for (i = 0; i < strlen(string); CAP(string+(++i)));
}

Then just upper(string) to convert it completely to uppercase.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT