[snip snip] > >for (;str && *str; str++) > > if (*str == '~') > > *str = HIDDEN_TILDE; > > My way (strchr) works better. :) > > I think it's best done by the OLC package actually. > Just a side comment: using some other character as a seperator might be better (if you do implement this) since a lot of web urls have tildes in them. I've seen muds which had to post their url in the motd file as "http://www.blah.com/(tilde here)whatever". +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST