Just out of curiosity, Why on Earth would you do such a horrible thing?!?!?!
Rheede -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Sent: Wednesday, May 29, 2002 4:22 PM To: [email protected] Subject: Strip spaces Hi, Alright. Say I have a string that i want to print in sprintf or something. Like: sprintf(buf,"%s", ch->in_room->name); send_to_char(buf, ch); Something like that. But many room names are things like: The Big Red Hotel Lobby with Purple Carpets Something screwy like that. Is there a way that I could get it to strip the spaces so that it is either: TheBigRedHotelLobbywithPurpleCarpets or The_Big_Red_Hotel_Lobby_with_Purple_Carpets ? If there is, it would be VERY useful. Thanks again, -tarian -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom

