You could just use an unprintable character, or even the NULL character to terminate a string when you write it to disk. ie. instead of Name : Joe~ you would write Name : Joe\0 to the disk. There would be no way for someone to insert a NULL character, since all this would do is terminate the string they are editing. --Sean +------------------------------------------------------------+ | 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